Skip to content

Commit

Permalink
Remove unused _get_file_count_in_dir method
Browse files Browse the repository at this point in the history
It was added in b39924a, but there are no callers of it. There's `media.files.Files._count_files_in_folder` instead anyway.
  • Loading branch information
rdbende authored Jan 4, 2024
2 parents 5998f70 + f5d36ed commit e46afc3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cozy/media/importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,3 @@ def _filter_unchanged_files(self, files: List[str]) -> List[str]:
continue

yield file

def _get_file_count_in_dir(self, dir):
len([name for name in os.listdir(dir) if os.path.isfile(name)])

0 comments on commit e46afc3

Please sign in to comment.