Skip to content

Commit

Permalink
Merge pull request #19 from srirams6/master
Browse files Browse the repository at this point in the history
Moved import into console_main function.
  • Loading branch information
sananth12 committed Mar 2, 2015
2 parents 6fc0810 + bbb8e2e commit 64487cb
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions image_scraper/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@

import sys
from progressbar import *
from utils import (process_links, get_html, get_img_list, download_image,
process_download_path, get_arguments)


def console_main():
import sys
from progressbar import *
from utils import (process_links, get_html, get_img_list, download_image,
process_download_path, get_arguments)
URL, no_to_download, format_list, download_path, max_filesize, dump_urls, use_ghost = get_arguments()
print "\nImageScraper\n============\nRequesting page....\n"

Expand Down

0 comments on commit 64487cb

Please sign in to comment.