Skip to content

Commit b270275

Browse files
committed
Ignore profile folders on Export dialog init - removes warning log about "failed to process" profile folder
1 parent 4c7af05 commit b270275

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/windows/export.py

+2
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,8 @@ def __init__(self, *args, **kwargs):
196196
for profile_folder in [info.USER_PROFILES_PATH, info.PROFILES_PATH]:
197197
for file in reversed(sorted(os.listdir(profile_folder))):
198198
profile_path = os.path.join(profile_folder, file)
199+
if os.path.isdir(profile_path):
200+
continue
199201
try:
200202
# Load Profile
201203
profile = openshot.Profile(profile_path)

0 commit comments

Comments
 (0)