Skip to content
This repository has been archived by the owner on Sep 10, 2023. It is now read-only.

Commit

Permalink
more stable google photos folder detection
Browse files Browse the repository at this point in the history
  • Loading branch information
MrYakobo committed Apr 5, 2023
1 parent 0bc6aab commit 81745de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fix_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def main(rootdir):
# Takeout/Google Foto
# rootdir refers to that subfolder

rootdir = glob(f"{rootdir}/*/")[0]
rootdir = glob(f"{rootdir}/Google*/")[0]
restructure_folders_if_needed(rootdir)

process_albums(rootdir)
Expand Down

0 comments on commit 81745de

Please sign in to comment.