Save file to correct location

This commit is contained in:
Fredrick W. Warren 2022-05-30 22:37:50 -07:00
parent c99fa6d239
commit 2a0110fe34

View File

@ -1,5 +1,6 @@
import os
import PySimpleGUI as sg
from pathlib import Path
from PIL import Image, ImageDraw, ImageEnhance, ImageFilter, ImageFont, ImageOps
from io import BytesIO
@ -120,7 +121,7 @@ def main():
if event == "-SAVE-":
save_path = 'Title.png'
save_path = save_filename()
image.save(save_path, 'PNG')
window.close()