From b1acb6a07606919da770286c03e6cb3a9f049810 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Sat, 1 May 2021 20:49:28 -0600 Subject: [PATCH] Remove placeholder functions --- scripts/auto_repairs.py | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/scripts/auto_repairs.py b/scripts/auto_repairs.py index 29846f01..7e0fd1f5 100644 --- a/scripts/auto_repairs.py +++ b/scripts/auto_repairs.py @@ -3,8 +3,6 @@ import os import sys -import random # TODO: Deleteme -import time os.chdir(os.path.dirname(os.path.realpath(__file__))) sys.path.append(os.getcwd()) @@ -29,25 +27,11 @@ class MenuEntry(): # Set details self.details = { 'Function': function, - 'Selected': False, + 'Selected': True, **kwargs, } -# TODO: Deleteme -TRY_AND_PRINT = wk.std.TryAndPrint() -TRY_AND_PRINT.width = 50 -def placeholder_function(group, name): - result = TRY_AND_PRINT.run(f'{name}...', time.sleep, random.randint(1, 3)) - wk.repairs.win.save_settings(group, name, result=result) - -def placeholder_reboot(group, name): - print('"Rebooting" shortly...') - time.sleep(random.randint(1, 3)) - wk.repairs.win.save_settings(group, name, done=True, message='DONE') - raise SystemExit - - # STATIC VARIABLES BASE_MENUS = { 'Groups': {