Bug fixes: Make fpdb run after my previous patches damage

This commit is contained in:
Worros 2010-09-22 23:18:36 +08:00
parent ee5e80894c
commit 0ce0c13dd0
2 changed files with 4 additions and 4 deletions

View File

@ -164,9 +164,9 @@ def encodeCard(cardString):
return encodeCardList[cardString] return encodeCardList[cardString]
def encodeRazzStartHand(cards): def encodeRazzStartHand(cards):
"""No idea how this is actually going to work, figured i'd record the top 10 """No idea how this is actually going to work, figured i'd record the top 10
starting hands anyway starting hands anyway
""" """
pass pass
#A, 2, 3 #A, 2, 3
#A, 2, 4 #A, 2, 4

View File

@ -35,7 +35,7 @@ import Exceptions
import locale import locale
(lang, charset) = locale.getdefaultlocale() (lang, charset) = locale.getdefaultlocale()
if lang == None or lang == "en": if lang == None or lang[:2] == "en":
def _(string): return string def _(string): return string
else: else:
import gettext import gettext