ifw-arz commited on
Commit
10948fe
1 Parent(s): 8b2e775
Files changed (2) hide show
  1. app.py +2 -1
  2. processing/cloud_access.py +1 -1
app.py CHANGED
@@ -148,7 +148,8 @@ def main():
148
  if __name__ == "__main__":
149
  main()
150
 
151
- t1 = threading.Thread(target=auto_download(os.getenv("seafile_token")))
 
152
  t1.start()
153
 
154
 
 
148
  if __name__ == "__main__":
149
  main()
150
 
151
+ seafile_token = os.getenv("seafile_token")
152
+ t1 = threading.Thread(target=auto_download(seafile_token))
153
  t1.start()
154
 
155
 
processing/cloud_access.py CHANGED
@@ -42,7 +42,7 @@ def auto_download(seafile_token):
42
  for file in file_list:
43
  seafile_download_file(seafile_token, library_id, folder_path, file, target_folder)
44
 
45
- #auto_download()
46
 
47
 
48
 
 
42
  for file in file_list:
43
  seafile_download_file(seafile_token, library_id, folder_path, file, target_folder)
44
 
45
+
46
 
47
 
48