fix path of '.'

This commit is contained in:
Nguyen Huu Thuong
2020-08-15 16:06:10 +02:00
parent 2c8f07d59c
commit b4d8639712

2
app.py
View File

@@ -44,7 +44,7 @@ def strip_and_parse_envs(p):
return None
for c in strips:
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():