mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Merge pull request #4347 from quadproduction/255-photoshop-save-as
This commit is contained in:
commit
ddb5b577c4
1 changed files with 2 additions and 0 deletions
|
|
@ -25,6 +25,8 @@ def has_unsaved_changes():
|
|||
|
||||
def save_file(filepath):
|
||||
_, ext = os.path.splitext(filepath)
|
||||
if ext not in file_extensions():
|
||||
ext = '.psd'
|
||||
lib.stub().saveAs(filepath, ext[1:], True)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue