+ fix
This commit is contained in:
@@ -162,12 +162,6 @@ class Gui:
|
|||||||
sg.popup(
|
sg.popup(
|
||||||
'This was made by plexx(Image generation), Weckyy702(Interpreter) and oleting(Frontend). Used Python 3.9.1, Libraries PySimpleGUI and Pillow.', title='Credits')
|
'This was made by plexx(Image generation), Weckyy702(Interpreter) and oleting(Frontend). Used Python 3.9.1, Libraries PySimpleGUI and Pillow.', title='Credits')
|
||||||
|
|
||||||
# handle fun feature
|
|
||||||
if event == '-DONATE-':
|
|
||||||
logging.debug(('event = ' + str(event)))
|
|
||||||
sg.popup_notify(
|
|
||||||
('You donated $' + str(random.randint(500, 100000000)) + '.'), title='Thanks')
|
|
||||||
|
|
||||||
|
|
||||||
# needed Input
|
# needed Input
|
||||||
|
|
||||||
|
|||||||
@@ -15,8 +15,6 @@ class Layout_std:
|
|||||||
sg.Button(button_text='Create Image', key='-CREATE-'),
|
sg.Button(button_text='Create Image', key='-CREATE-'),
|
||||||
sg.Button(button_text='Credits', key='-CREDITS-'),
|
sg.Button(button_text='Credits', key='-CREDITS-'),
|
||||||
sg.Button(button_text='Settings', key='-SETTINGS-'),
|
sg.Button(button_text='Settings', key='-SETTINGS-'),
|
||||||
# * fun feature
|
|
||||||
sg.Button(button_text='Donate', key='-DONATE-'),
|
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
@@ -34,9 +34,7 @@ def nassi(input_path: str, output_path: str, outputname: str, types, remove_tags
|
|||||||
|
|
||||||
cancel = NSD.convert_to_image(output_directory, on_conflict=behaviour)
|
cancel = NSD.convert_to_image(output_directory, on_conflict=behaviour)
|
||||||
|
|
||||||
if not cancel:
|
|
||||||
return None
|
|
||||||
|
|
||||||
return output_directory, is_empty
|
return output_directory, is_empty
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user