Skip to content

Commit

Permalink
Ignore profile folders on Export dialog init - removes warning log ab…
Browse files Browse the repository at this point in the history
…out "failed to process" profile folder
  • Loading branch information
jonoomph committed Apr 12, 2023
1 parent 4c7af05 commit b270275
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/windows/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ def __init__(self, *args, **kwargs):
for profile_folder in [info.USER_PROFILES_PATH, info.PROFILES_PATH]:
for file in reversed(sorted(os.listdir(profile_folder))):
profile_path = os.path.join(profile_folder, file)
if os.path.isdir(profile_path):
continue
try:
# Load Profile
profile = openshot.Profile(profile_path)
Expand Down

0 comments on commit b270275

Please sign in to comment.