diff --git a/pyfpdb/Card.py b/pyfpdb/Card.py index a6292c18..0496b47f 100755 --- a/pyfpdb/Card.py +++ b/pyfpdb/Card.py @@ -164,9 +164,9 @@ def encodeCard(cardString): return encodeCardList[cardString] def encodeRazzStartHand(cards): -"""No idea how this is actually going to work, figured i'd record the top 10 - starting hands anyway -""" + """No idea how this is actually going to work, figured i'd record the top 10 + starting hands anyway + """ pass #A, 2, 3 #A, 2, 4 diff --git a/pyfpdb/GuiBulkImport.py b/pyfpdb/GuiBulkImport.py index 550e70f3..3924cd07 100755 --- a/pyfpdb/GuiBulkImport.py +++ b/pyfpdb/GuiBulkImport.py @@ -35,7 +35,7 @@ import Exceptions import locale (lang, charset) = locale.getdefaultlocale() -if lang == None or lang == "en": +if lang == None or lang[:2] == "en": def _(string): return string else: import gettext