Typo in fs initialisation
This commit is contained in:
parent
0198550328
commit
fd84cf7f44
2
main.py
2
main.py
@ -12,7 +12,7 @@ from fs import path
|
||||
|
||||
fileSystem = None
|
||||
|
||||
if os.environ.get("FTP_ADDRESS", False) and os.environ.get("FTP_USER", False) and os.environ("FTP_PASS", False):
|
||||
if os.environ.get("FTP_ADDRESS", False) and os.environ.get("FTP_USER", False) and os.environ.get("FTP_PASS", False):
|
||||
print("FTP")
|
||||
fileSystem = FTPFS(os.environ["FTP_ADDRESS"], user=os.environ["FTP_USER"], passwd=os.environ["FTP_PASS"])
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user