]> git.parisson.com Git - deefuzzer.git/commitdiff
improve the queue iteration
authorGuillaume Pellerin <yomguy@parisson.com>
Tue, 14 Apr 2009 17:28:55 +0000 (17:28 +0000)
committerGuillaume Pellerin <yomguy@parisson.com>
Tue, 14 Apr 2009 17:28:55 +0000 (17:28 +0000)
deefuzz.py

index 6e28be386e04ad95662f51837b423eac79e56e29..c8be76be247aa10d429c1425f97de2078c194241 100755 (executable)
@@ -379,8 +379,8 @@ class Station(Thread):
             self.counter += 1
             q.task_done()
 
+            it = q.get(1)
             if os.path.exists(media) and not os.sep+'.' in media:
-                it = q.get(1)
                 file_name, file_title, file_ext = self.get_file_info(media)
                 try:
                     self.current_media_obj = self.media_to_objs([media])