Skip to content

Commit

Permalink
removed duplicate code;
Browse files Browse the repository at this point in the history
  • Loading branch information
mandarons committed Sep 24, 2023
1 parent 7490173 commit f85aa35
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/sync_drive.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,13 +223,6 @@ def process_file(item, destination_path, filters, ignore, files):
elif file_exists(item=item, local_file=local_file):
return False
local_file = download_file(item=item, local_file=local_file)
if item_is_package:
for f in Path(local_file).glob("**/*"):
f = str(f)
f_normalized = unicodedata.normalize("NFD", f)
if f is not f_normalized and os.path.exists(f):
os.rename(f, f_normalized)
files.add(f_normalized)
return True


Expand Down

0 comments on commit f85aa35

Please sign in to comment.