From 3c1c26390ba046538b03ed6daf7166af44da9227 Mon Sep 17 00:00:00 2001 From: Emory P Date: Fri, 1 Nov 2013 17:12:38 -0400 Subject: [PATCH] fixed indenting with vim pymode plugin, woops (been a while for python) --- scanner.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scanner.py b/scanner.py index c062278..7131417 100755 --- a/scanner.py +++ b/scanner.py @@ -23,10 +23,10 @@ class Scanner: self.__deleted_tracks = 0 def scan(self, folder): - print "scanning", folder.path + print "scanning", folder.path for root, subfolders, files in os.walk(folder.path, topdown=False): - for p in subfolders: - db.session.flush() + for p in subfolders: + db.session.flush() for f in files: self.__scan_file(os.path.join(root, f), folder) folder.last_scan = int(time.time()) @@ -63,7 +63,7 @@ class Scanner: self.__remove_track(tr) return else: - print "Added ", path + print "Added ", path tag = self.__try_load_tag(path) if not tag: return