Skip to content

Commit

Permalink
Update atef/widgets/config.py
Browse files Browse the repository at this point in the history
Co-authored-by: Zachary Lentz <[email protected]>
  • Loading branch information
liggett2820 and ZLLentz authored Aug 2, 2022
1 parent 5b04dbf commit c8377c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atef/widgets/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def save_as(self, *args, filename: Optional[str] = None, **kwargs):
caption='Save as',
filter='Json Files (*.json)',
)
if filename.endswith('.json') is False: # json_extension_bug_fix location
if not filename.endswith('.json'):
filename += '.json'
try:
with open(filename, 'w') as fd:
Expand Down

0 comments on commit c8377c6

Please sign in to comment.