Revert "changed all of the currency substitutions from byte stream (i.e. \xe2\x82\xac for EURO) to unicode (u'\u20AC') as it was throwing unicode errors when attempting to format the string in the various regex statements. I am aware that I may be the only one to encounter this problem."

This reverts commit d0ae2a155d.

Conflicts:

	pyfpdb/FulltiltToFpdb.py
This commit is contained in:
Worros
2011-03-29 15:46:15 +08:00
parent efa1a9e6cf
commit 684689c9db
10 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ class Fulltilt(HandHistoryConverter):
substitutions = {
'LEGAL_ISO' : "USD|EUR|GBP|CAD|FPP", # legal ISO currency codes
'LS' : u"\$|\u20AC|\xe2\x82\xac|", # legal currency symbols - Euro(cp1252, utf-8)
'TAB' : u"-\u2013'\s\da-zA-Z#_", # legal characters for tablename
'TAB' : u"-\u2013'\s\da-zA-Z#_", # legal characters for tablename
'NUM' : u".,\d", # legal characters in number format
}