Parcourir la source

Update organize.py

BassThatHertz il y a 6 ans
Parent
commit
8fb64b25cf
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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]