From 1e482a8a3767d0d8e3d56dbbf6b220c184bf72bf Mon Sep 17 00:00:00 2001 From: Worros Date: Thu, 24 Feb 2011 22:48:53 +0800 Subject: [PATCH] FTP: Specify full filename in log when gametype not matched --- pyfpdb/FulltiltToFpdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/FulltiltToFpdb.py b/pyfpdb/FulltiltToFpdb.py index 29b6d4d2..20980de1 100755 --- a/pyfpdb/FulltiltToFpdb.py +++ b/pyfpdb/FulltiltToFpdb.py @@ -208,8 +208,8 @@ class Fulltilt(HandHistoryConverter): m = self.re_GameInfo.search(handText) if not m: tmp = handText[0:100] + log.error(_("determineGameType: Raising FpdbParseError for file '%s'") % self.in_path) log.error(_("determineGameType: Unable to recognise gametype from: '%s'") % tmp) - log.error(_("determineGameType: Raising FpdbParseError")) raise FpdbParseError(_("Unable to recognise gametype from: '%s'") % tmp) mg = m.groupdict()