Browse Source

another bit of string churn - the number of strings/words to translate is going down due to this though :)

master
Steffen Schaumburg 13 years ago
parent
commit
07d9df0b31
  1. 6
      pyfpdb/AbsoluteToFpdb.py

6
pyfpdb/AbsoluteToFpdb.py

@ -201,12 +201,12 @@ class Absolute(HandHistoryConverter):
if m is None or fname_info is None:
if m is None:
tmp = hand.handText[0:100]
logging.error(_("readHandInfo: Didn't match: '%s'") % tmp)
raise FpdbParseError(_("Absolute: Didn't match re_HandInfo: '%s'") % tmp)
logging.error(_("Didn't match re_HandInfo: '%s'") % tmp)
raise FpdbParseError("Absolute: " + _("Didn't match re_HandInfo: '%s'") % tmp)
elif fname_info is None:
logging.error(_("readHandInfo: File name didn't match re_*InfoFromFilename"))
logging.error(_("File name: %s") % self.in_path)
raise FpdbParseError(_("Absolute: Didn't match re_*InfoFromFilename: '%s'") % self.in_path)
raise FpdbParseError("Absolute: " + _("Didn't match re_*InfoFromFilename: '%s'") % self.in_path)
logging.debug("HID %s, Table %s" % (m.group('HID'), m.group('TABLE')))
hand.handid = m.group('HID')

Loading…
Cancel
Save