Commit 6b5dfde2 authored by Jérome Perrin's avatar Jérome Perrin

fixup! software/theia: fix instance error when instance is not ASCII

parent 5a076557
Pipeline #22042 failed with stage
......@@ -15,7 +15,7 @@
[instance-theia]
_update_hash_filename_ = instance-theia.cfg.jinja.in
md5sum = 5a0caaa7004c0af8d2e8fdc7bc96a18f
md5sum = f1b06742154b97d4173dd11e0949569d
[instance]
_update_hash_filename_ = instance.cfg.in
......
......@@ -338,12 +338,12 @@ install =
gravatar_url = "https://www.gravatar.com/avatar/" + hashlib.md5(
options['seed'].encode()
).hexdigest() + "?s=256&d=retro"
shutil.copy(self.download(gravatar_url), options['location'])
shutil.copy(self.download(gravatar_url), location)
except Exception:
# Because installation should work offline, if we can't download a favicon,
# just ignore this step.
self.logger.exception("Error while downloading favicon, using empty one")
open(options['location'], 'w').close()
open(location, 'w').close()
finally:
self.buildout['buildout']['offline'] = buildout_offline
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment