This commit is contained in:
oleting
2021-02-09 15:46:14 +01:00
parent 96b4aedf66
commit 7d000593f6
3 changed files with 1 additions and 11 deletions

View File

@@ -162,12 +162,6 @@ class Gui:
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')
# 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

View File

@@ -15,8 +15,6 @@ class Layout_std:
sg.Button(button_text='Create Image', key='-CREATE-'),
sg.Button(button_text='Credits', key='-CREDITS-'),
sg.Button(button_text='Settings', key='-SETTINGS-'),
# * fun feature
sg.Button(button_text='Donate', key='-DONATE-'),
]
]

View File

@@ -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)
if not cancel:
return None
return output_directory, is_empty