mirror of
https://github.com/frappe/bench.git
synced 2025-01-09 16:36:25 +00:00
fix: Use == for dict comparison
This commit is contained in:
parent
4f423923b4
commit
e80daf8c3e
@ -155,7 +155,7 @@ def update_npm_packages(bench_path=".", apps=None):
|
|||||||
else:
|
else:
|
||||||
package_json[key] = value
|
package_json[key] = value
|
||||||
|
|
||||||
if package_json is {}:
|
if package_json == {}:
|
||||||
with open(os.path.join(os.path.dirname(__file__), "package.json")) as f:
|
with open(os.path.join(os.path.dirname(__file__), "package.json")) as f:
|
||||||
package_json = json.loads(f.read())
|
package_json = json.loads(f.read())
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user