TS: add new builtFrom option

This commit is contained in:
Worros 2010-09-04 16:32:46 +08:00
parent 10a48240db
commit 04849775d7

View File

@ -127,6 +127,9 @@ class TourneySummary(object):
if builtFrom=="IMAP": if builtFrom=="IMAP":
self.parseSummary() self.parseSummary()
self.insertOrUpdate() self.insertOrUpdate()
elif builtFrom == "file":
self.parseSummaryFile()
self.insertOrUpdate()
#end def __init__ #end def __init__
def __str__(self): def __str__(self):