mirror of
https://github.com/frappe/bench.git
synced 2025-01-08 00:04:38 +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:
|
||||
package_json[key] = value
|
||||
|
||||
if package_json is {}:
|
||||
if package_json == {}:
|
||||
with open(os.path.join(os.path.dirname(__file__), "package.json")) as f:
|
||||
package_json = json.loads(f.read())
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user