misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
Simone Margaritelli 2019-10-20 20:47:52 +02:00
parent 999b130224
commit 649091766f
No known key found for this signature in database
GPG Key ID: 82E42E7F3B34C97E

View File

@ -82,7 +82,7 @@ def install(display, update):
display.update(force=True, new_data={'status': 'Extracting %s ...' % name}) display.update(force=True, new_data={'status': 'Extracting %s ...' % name})
os.system('unzip "%s" -q -d "%s"' % (target_path, path)) os.system('unzip "%s" -d "%s"' % (target_path, path))
source_path = os.path.join(path, name) source_path = os.path.join(path, name)
checksums = glob.glob("%s/*.sha256" % path) checksums = glob.glob("%s/*.sha256" % path)