Skip to content

Commit

Permalink
Merge pull request #20 from srirams6/master
Browse files Browse the repository at this point in the history
Minor optimization
  • Loading branch information
sananth12 committed Mar 2, 2015
2 parents 64487cb + 4d0da97 commit cf3172e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions image_scraper/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

def console_main():
import sys
from progressbar import *
Expand All @@ -19,8 +18,8 @@ def console_main():

process_download_path(download_path)

for img_url in images:
if dump_urls:
if dump_urls:
for img_url in images:
print img_url

count = 0
Expand Down

0 comments on commit cf3172e

Please sign in to comment.