mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-05-19 04:33:26 +02:00
Fix #43: is not -> !=
This commit is contained in:
@@ -630,7 +630,7 @@ class ArmorForm(LinkedListForm):
|
||||
|
||||
def on_ok(self):
|
||||
my_armor = self.armor.get_selected_objects()[0]
|
||||
if my_armor.lower() is not "no armor":
|
||||
if my_armor.lower() != "no armor":
|
||||
self.parentApp.character.wear_armor(my_armor)
|
||||
if self.shield.value:
|
||||
self.parentApp.character.wield_shield('shield')
|
||||
|
||||
Reference in New Issue
Block a user