From f92aa5466849419989e8ccc829ad17ed555c4430 Mon Sep 17 00:00:00 2001 From: BarsTiger Date: Fri, 25 Feb 2022 23:19:48 +0200 Subject: [PATCH] Debug --- modules/gui_manager.py | 4 ++-- modules/uploader.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/gui_manager.py b/modules/gui_manager.py index 6d1ec99..0f083e4 100644 --- a/modules/gui_manager.py +++ b/modules/gui_manager.py @@ -141,8 +141,8 @@ def install(package): download_ui.logs_box.moveCursor(QtGui.QTextCursor.End) threading.Thread(target=os.system, args=('{2}apps/{0}/{1}'.format(r['name'], r['install'], horsy_vars.horsypath),)).start() - download_ui.logs_box.append(f"All done!\nYou can run your app by entering {r['name']} in terminal") - download_ui.logs_box.moveCursor(QtGui.QTextCursor.End) + download_ui.logs_box.append(f"All done!\nYou can run your app by entering {r['name']} in terminal") + download_ui.logs_box.moveCursor(QtGui.QTextCursor.End) threading.Thread(target=install_this).start() except: diff --git a/modules/uploader.py b/modules/uploader.py index fa71c46..b4ce152 100644 --- a/modules/uploader.py +++ b/modules/uploader.py @@ -6,7 +6,7 @@ from modules.auth import get_auth, del_auth, get_auth_without_login import re import modules.vars as horsy_vars import os -from modules.http_status import handle, codes as status_codes +from modules.http_status import handle def matches(s): @@ -17,7 +17,7 @@ def urlmatch(s): return re.match("^https?://.*.(?:zip|exe)$", s) is not None -def upload(is_gui=False, ui=None, login_ui=None, Ui_LoginWindow=None): +def upload(is_gui=False, ui=None): if not is_gui: print('Welcome to the uploader') print('Before starting, please make sure you have done your project and [blink]uploaded[/] it to any hosting '