mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-19 20:57:58 +00:00
Update utilities.py
This commit is contained in:
parent
775806526b
commit
b304981082
@ -334,7 +334,7 @@ def show_custom_dialog(title, text, options):
|
|||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
ASCIIColors.error(ex)
|
ASCIIColors.error(ex)
|
||||||
return show_console_custom_dialog(title, text, options)
|
return show_console_custom_dialog(title, text, options)
|
||||||
def show_yes_no_dialog(title, text):
|
def show_yes_no_dialog(title, text):
|
||||||
try:
|
try:
|
||||||
if sys.platform.startswith('win'):
|
if sys.platform.startswith('win'):
|
||||||
return show_windows_dialog(title, text)
|
return show_windows_dialog(title, text)
|
||||||
|
Loading…
Reference in New Issue
Block a user