Skip to content

Commit

Permalink
Added skip to len of completed files
Browse files Browse the repository at this point in the history
  • Loading branch information
Knucklessg1 committed Apr 27, 2024
1 parent 4a883c6 commit ef76c92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion media_manager/media_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ def rename_directory(self) -> None:
os.rename(os.path.normpath(os.path.join(self.directory, '')),
os.path.normpath(os.path.join(self.parent_directory, self.folder_name)))
self.find_media()
self.media_file_index = 0
self.media_file_index = len(self.completed_media_files)
else:
self.print(f"\tRenaming directory not needed: {os.path.normpath(os.path.join(self.directory, ''))}")

Expand Down

0 comments on commit ef76c92

Please sign in to comment.