From 0ce0c13dd0d4f81a1196e6e8c823fa9bf66419a3 Mon Sep 17 00:00:00 2001 From: Worros Date: Wed, 22 Sep 2010 23:18:36 +0800 Subject: [PATCH] Bug fixes: Make fpdb run after my previous patches damage --- pyfpdb/Card.py | 6 +++--- pyfpdb/GuiBulkImport.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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