2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-08 16:14:12 +00:00

fix: Use == for dict comparison

This commit is contained in:
Gavin D'souza 2023-05-31 13:57:27 +05:30
parent 4f423923b4
commit e80daf8c3e
No known key found for this signature in database
GPG Key ID: 3A7BF4D4340DE6F7

View File

@ -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())