Procházet zdrojové kódy

Update organize.py

BassThatHertz před 6 roky
rodič
revize
8fb64b25cf
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      pyinstalive/organize.py

+ 1 - 1
pyinstalive/organize.py

@@ -54,7 +54,7 @@ def organize_videos():
             os.rename(filename, date + " " + username + " [" + time_from_unix_timestamp + "] " + live_or_replay)
 
         # Now that the files have been renamed, we need to rescan the files in the directory.
-        current_dir_files = os.listdir(pil.dl_path)
+        download_path_files = os.listdir(pil.dl_path)
 
         new_filenames = [filename for filename in download_path_files if filename.split('.')[-1] in video_format]