mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Fix ModuleUpdater fallback patch
This commit is contained in:
@@ -19,7 +19,7 @@ def update():
|
|||||||
update_ran = True
|
update_ran = True
|
||||||
path = os.path.join(os.path.dirname(sys.argv[0]), 'requirements.txt')
|
path = os.path.join(os.path.dirname(sys.argv[0]), 'requirements.txt')
|
||||||
if not os.path.exists(path):
|
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:
|
with open(path) as requirementsfile:
|
||||||
for line in requirementsfile.readlines():
|
for line in requirementsfile.readlines():
|
||||||
module, remote_version = line.split(">=")
|
module, remote_version = line.split(">=")
|
||||||
|
Reference in New Issue
Block a user