diff --git a/src/gen/db/write.py b/src/gen/db/write.py index d51d8e0fc..71ff4fc3c 100644 --- a/src/gen/db/write.py +++ b/src/gen/db/write.py @@ -1332,7 +1332,7 @@ class DbBsddb(DbBsddbRead, DbWriteBase, UpdateCallback): if self.readonly or not obj or not obj.handle: return - obj.change = int(change_time if change_time else time.time()) + obj.change = int(change_time or time.time()) handle = str(obj.handle) self.update_reference_map(obj, transaction)