Browse Source

Fix spurious assertion on blend load

pull/123/head
Adam Johnson 6 years ago
parent
commit
f988a588ff
Signed by: Hoikas
GPG Key ID: 0B6515D6FF6F271E
  1. 2
      korman/properties/modifiers/base.py

2
korman/properties/modifiers/base.py

@ -92,7 +92,7 @@ class PlasmaModifierUpgradable:
@property @property
def requires_upgrade(self): def requires_upgrade(self):
current_version, latest_version = self.current_version, self.latest_version current_version, latest_version = self.current_version, self.latest_version
assert current_version < latest_version assert current_version <= latest_version
return current_version < latest_version return current_version < latest_version
@abc.abstractmethod @abc.abstractmethod

Loading…
Cancel
Save