From bca9fb15cf5371232b82b4e1ab9c29e445ba06d9 Mon Sep 17 00:00:00 2001 From: Worros Date: Tue, 24 Feb 2009 22:46:05 +0900 Subject: [PATCH] Note in code re: os.walk --- pyfpdb/fpdb_import.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyfpdb/fpdb_import.py b/pyfpdb/fpdb_import.py index aeb1e027..cdfee353 100644 --- a/pyfpdb/fpdb_import.py +++ b/pyfpdb/fpdb_import.py @@ -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