quickfix: fix for additional lint error in updated pylint (#1805)

This commit is contained in:
Ilya Kreymer 2024-05-15 17:00:15 -07:00 committed by GitHub
parent 0479489bd8
commit 1ca107fa2b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,6 +28,7 @@ class Migration(BaseMigration):
async for org in mdb_orgs.find({"storage.custom": None}):
oid = org["_id"]
storage = org["storage"]
update_dict = {}
if storage.get("type") == "default":
if storage.get("name"):