From b06f528f72a018bac1e3d6d7b14f8f68b1c8bc73 Mon Sep 17 00:00:00 2001 From: Berserker66 Date: Sat, 11 Jul 2020 16:54:38 +0200 Subject: [PATCH] Fix ModuleUpdater fallback patch --- ModuleUpdate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ModuleUpdate.py b/ModuleUpdate.py index abae05c4..e8abef64 100644 --- a/ModuleUpdate.py +++ b/ModuleUpdate.py @@ -19,7 +19,7 @@ def update(): update_ran = True path = os.path.join(os.path.dirname(sys.argv[0]), 'requirements.txt') if not os.path.exists(path): - os.path.join(os.path.dirname(__file__), 'requirements.txt') + path = os.path.join(os.path.dirname(__file__), 'requirements.txt') with open(path) as requirementsfile: for line in requirementsfile.readlines(): module, remote_version = line.split(">=")