ford442 commited on
Commit
8cc70a1
·
verified ·
1 Parent(s): 40fcec0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -122,7 +122,7 @@ def upload_to_ftp(filename):
122
  try:
123
  transport = paramiko.Transport((FTP_HOST, 22))
124
  if filename.endswith(".txt"):
125
- destination_path=FTP_DIR+'/txt/'filename
126
  else:
127
  destination_path=FTP_DIR+filename
128
  transport.connect(username = FTP_USER, password = FTP_PASS)
 
122
  try:
123
  transport = paramiko.Transport((FTP_HOST, 22))
124
  if filename.endswith(".txt"):
125
+ destination_path=FTP_DIR+'/txt/'+filename
126
  else:
127
  destination_path=FTP_DIR+filename
128
  transport.connect(username = FTP_USER, password = FTP_PASS)