Jeopardy: tweak defaultPointValue

This commit is contained in:
oddluck 2020-02-25 22:06:45 +00:00
parent 0dfba817d6
commit dfe78730be

View File

@ -176,7 +176,7 @@ class Jeopardy(callbacks.Plugin):
category = string.capwords(item['category']['title'])
invalid = item['invalid_count']
points = self.points
if item['value']:
if int(item['value']) >= 100:
points = int(item['value'])
else:
points = self.points
@ -238,7 +238,7 @@ class Jeopardy(callbacks.Plugin):
category = string.capwords(item['category']['title'])
invalid = item['invalid_count']
points = self.points
if item['value']:
if int(item['value']) >= 100:
points = int(item['value'])
else:
points = self.points