Skip to content

Commit

Permalink
wxGUI/animation: fix validation of extension of exported file (#907)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmszi authored and petrasovaa committed Aug 14, 2020
1 parent ce352e1 commit cc4acd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/wxpython/animation/dialogs.py
Expand Up @@ -1593,7 +1593,7 @@ def _export_file_validation(self, filebrowsebtn, file_path,
GError(parent=self, message=_("Export file is missing."))
return False
else:
if file_path.endswith(file_postfix):
if not file_path.endswith(file_postfix):
filebrowsebtn.SetValue(file_path + file_postfix)
file_path += file_postfix

Expand Down

0 comments on commit cc4acd2

Please sign in to comment.