Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/TO_LIVE_SCRIPT/ERA ONE/1937 DAY ONE[7-9-37]/_1937_sino_japanese_war_bookmark.rpy", line 5, in script
"test fasces"
TypeError: unsupported operand type(s) for %: 'NoneType' and 'TagQuotingDict'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/TO_LIVE_SCRIPT/ERA ONE/1937 DAY ONE[7-9-37]/_1937_sino_japanese_war_bookmark.rpy", line 5, in script
"test fasces"
File "E:\renpy\renpy-6.99.12.4-sdk\renpy\ast.py", line 708, in execute
renpy.exports.say(who, what, *args, **kwargs)
File "E:\renpy\renpy-6.99.12.4-sdk\renpy\exports.py", line 1334, in say
what = what % tag_quoting_dict
TypeError: unsupported operand type(s) for %: 'NoneType' and 'TagQuotingDict'
Windows-8-6.2.9200
Ren'Py 7.3.5.606
To Live 0.0.82
Mon Jul 27 13:53:44 2020
For context here is the code:
Code: Select all
def GetMaxPol(self):
return max(self.pol.iteritems(), key=operator.itemgetter(1))[0]
Code: Select all
define FangIdeologyStats = {
'fascism':1,
'communism':0,
'centrism':0,
'anarchism':0,
'conservatism':0,
'corporatism':0,
'liberalism':0,
'libertarianism':0,
'moralism':0,
'nationalism':0,
'progressivism':0
}
Code: Select all
if fang.GetMaxPol() == "fascism":
"testing for max ideology"