mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-14 18:39:27 -05:00
python3 compatibility + webapp to flask refactoring
This commit is contained in:
+1
-1
@@ -1169,7 +1169,7 @@ skills={
|
||||
}
|
||||
}
|
||||
for name in skills:
|
||||
if skills[name].has_key("condition") and not skills[name].has_key("duration") and conditions.has_key(skills[name]["condition"]) and conditions[skills[name]["condition"]]:
|
||||
if "condition" in skills[name] and "duration" not in skills[name] and skills[name]["condition"] in conditions and conditions[skills[name]["condition"]]:
|
||||
try:
|
||||
skills[name]["duration"]=conditions[skills[name]["condition"]]["duration"]
|
||||
except:
|
||||
|
||||
Reference in New Issue
Block a user