Set success_flag when running the new tweak menu

Former-commit-id: b799bdc3b81c7e38cfad2fab46042bf25de7c157
Former-commit-id: a3e9b01e5b3c4f5f8bfb70ee94b26ea6d82cb031
This commit is contained in:
2023-05-13 19:18:00 -04:00
parent bdedc98494
commit 1ef290b289
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -802,6 +802,7 @@ if __name__ == "__main__":
success_flag = True
read_shortcut()
elif arguments[0] == 'tweak':
success_flag = True
from stweak import global_menu
global_menu(False)
@@ -819,6 +820,7 @@ if __name__ == "__main__":
success_flag = True
whitelist_setup()
elif arg_count == 1 and arguments[0] == 'tweak':
success_flag = True
from stweak import global_menu
global_menu(False)
elif arg_count > 2 and arguments[1] in ('add', 'del'):