Note in code re: os.walk

This commit is contained in:
Worros 2009-02-24 22:46:05 +09:00
parent a4911b8b9e
commit bca9fb15cf

View File

@ -118,6 +118,8 @@ class Importer:
#dirlist is a hash of lists:
#dirlist{ 'PokerStars' => ["/path/to/import/", "filtername"] }
def addImportDirectory(self,dir,monitor = False, site = "default", filter = "passthrough"):
#This should really be using os.walk
#http://docs.python.org/library/os.html
if os.path.isdir(dir):
if monitor == True:
self.monitor = True