Fix ModuleUpdater fallback patch

This commit is contained in:
Berserker66 2020-07-11 16:54:38 +02:00
parent cf5e404aa6
commit b06f528f72
1 changed files with 1 additions and 1 deletions

View File

@ -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(">=")