Note in code re: os.walk
This commit is contained in:
parent
a4911b8b9e
commit
bca9fb15cf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user