still fixing convert_cards.. god i'm retarded lol
This commit is contained in:
parent
52db43cd6b
commit
375c2555a2
|
@ -147,9 +147,9 @@ class Database:
|
||||||
cards = ""
|
cards = ""
|
||||||
for i in xrange(1, 8):
|
for i in xrange(1, 8):
|
||||||
cv = "card%dValue" % i
|
cv = "card%dValue" % i
|
||||||
if cv not in d:
|
if cv not in d or d[cv] == None:
|
||||||
break
|
break
|
||||||
elif d[cv] == 0 or d[cv] == None:
|
elif d[cv] == 0:
|
||||||
cards = "%sxx" % cards
|
cards = "%sxx" % cards
|
||||||
else:
|
else:
|
||||||
cs = "card%dSuit" % i
|
cs = "card%dSuit" % i
|
||||||
|
|
Loading…
Reference in New Issue
Block a user