windows git is buggy

This commit is contained in:
eblade 2008-11-10 03:22:21 -05:00
parent 70f9e6edca
commit f767ec2207
7 changed files with 443 additions and 438 deletions

View File

@ -135,6 +135,7 @@ class GuiAutoImport (threading.Thread):
# Add directories to importer object. # Add directories to importer object.
for site in self.input_settings: for site in self.input_settings:
self.importer.addImportDirectory(self.input_settings[site][0], True, site, self.input_settings[site][1]) self.importer.addImportDirectory(self.input_settings[site][0], True, site, self.input_settings[site][1])
print "Adding import directories - Site: " + site + " dir: "+ str(self.input_settings[site][0])
self.do_import() self.do_import()
interval=int(self.intervalEntry.get_text()) interval=int(self.intervalEntry.get_text())

View File

@ -175,7 +175,11 @@ class Importer:
self.pos_in_file[file] = inputFile.tell() self.pos_in_file[file] = inputFile.tell()
inputFile.close() inputFile.close()
try:
firstline = self.lines[0] firstline = self.lines[0]
except:
print "import_fpdb_file", file, site, lines
return
if firstline.find("Tournament Summary")!=-1: if firstline.find("Tournament Summary")!=-1:
print "TODO: implement importing tournament summaries" print "TODO: implement importing tournament summaries"