Skip en-US folder when copying en-US Mozilla files to other locales

This commit is contained in:
Dan Stillman 2023-04-24 04:24:33 -04:00 committed by Dan Stillman
parent 3693674fc9
commit a542db8e50

View file

@ -216,6 +216,8 @@ def main():
missing = locales.difference(existing_locales)
for locale in missing:
if locale == 'en-US':
continue
dest_dir = os.path.join(locales_dir, locale, 'zotero', 'mozilla')
dest_file = os.path.join(dest_dir, entry_filename)
if not os.path.exists(dest_dir):