fix py script for new template location

This commit is contained in:
Raymond Hill 2018-04-27 12:28:59 -04:00
parent e930403635
commit c6c60ca658
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ with open(updates_json_filepath) as f:
f.close() f.close()
previous_version = updates_json['addons'][extension_id]['updates'][0]['version'] previous_version = updates_json['addons'][extension_id]['updates'][0]['version']
if LooseVersion(version) > LooseVersion(previous_version): if LooseVersion(version) > LooseVersion(previous_version):
with open(os.path.join(projdir, 'platform', 'webext', 'updates.template.json')) as f: with open(os.path.join(projdir, 'dist', 'firefox', 'updates.template.json')) as f:
template_json = Template(f.read()) template_json = Template(f.read())
f.close() f.close()
updates_json = template_json.substitute(version=version) updates_json = template_json.substitute(version=version)