mirror of
https://github.com/cross-the-world/scp-pipeline.git
synced 2025-09-10 11:39:52 +08:00
fix path of '.'
This commit is contained in:
2
app.py
2
app.py
@@ -44,7 +44,7 @@ def strip_and_parse_envs(p):
|
|||||||
return None
|
return None
|
||||||
for c in strips:
|
for c in strips:
|
||||||
p = p.strip(c)
|
p = p.strip(c)
|
||||||
return path.expandvars(p) if p != "." else path.realpath(p)
|
return path.expandvars(p) if p != "." else f"{path.realpath(p)}/*"
|
||||||
|
|
||||||
|
|
||||||
def connect():
|
def connect():
|
||||||
|
Reference in New Issue
Block a user