Skip to content

Commit

Permalink
Update LYNX_update.py
Browse files Browse the repository at this point in the history
Fix Python3 Errors Part 8.
  • Loading branch information
LucaScheller authored Aug 19, 2021
1 parent 49a9e4b commit ca9f07c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/LYNX_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def release_data_get(self):
except:
pass
# Relase Data Parse
data = json.loads(data.decode('utf-8'))
data = json.loads(data)
for release in data:
self.release_data["release_prerelease" if release["prerelease"] == True else "release_production"][
release["tag_name"]] = {"url": release["zipball_url"]}
Expand All @@ -204,7 +204,7 @@ def release_install(self):
shutil.copy(os.environ["LYNX"] + "/" + "plugins/SideFX/Houdini/packages/LYNX.json", file_path)
with open(file_path, 'r') as file:
data = file.read()
data = json.loads(data.decode('utf-8'))
data = json.loads(data)
data["env"][0]["LYNX"] = os.environ["LYNX"]
with open(file_path, 'w') as file:
json.dump(data, file, ensure_ascii=False, indent=4)
Expand Down

0 comments on commit ca9f07c

Please sign in to comment.