diff --git a/src/ui.py b/src/ui.py index 62e8e73..ab66850 100644 --- a/src/ui.py +++ b/src/ui.py @@ -224,8 +224,8 @@ async def launcher_update_check(self): if '--test' in sys.argv or not hasattr(self.config, 'launcher_endpoint'): return - launcher_hash = sha256_hash(sys.executable) - logging.info('Launcher Hash: %s' % launcher_hash) + launcher_hash = sha256_hash(sys.executable).strip() + logging.info('Launcher Hash: "%s"' % launcher_hash) url = self.build_path(self.config.launcher_endpoint) hash_url = url + '.hash' logging.info('Fetching remote hash from: %s' % hash_url) @@ -233,8 +233,8 @@ async def launcher_update_check(self): response = await loop.run_in_executor(self.executor, requests.get, hash_url) - remote_launcher_hash = response.text - logging.info('Remote launcher hash: %s' % remote_launcher_hash) + remote_launcher_hash = response.text.strip() + logging.info('Remote launcher hash: "%s"' % remote_launcher_hash) if remote_launcher_hash == launcher_hash: return logging.info('Fetching new launcher from: %s' % url)