diff options
author | ryuslash | 2010-02-09 01:35:17 +0100 |
---|---|---|
committer | ryuslash | 2010-02-09 01:35:17 +0100 |
commit | 91e0b5dc665679e30cfd2114a68adce9af04a3e9 (patch) | |
tree | f049587e5e5ff80dc5ee4d8f6b369dc77f3724ec /download.py | |
parent | 32c4471273097523d64ad0f7704861f211e78f72 (diff) | |
parent | cc571e6d8096856c083a6909ba2fe7a600f166b3 (diff) | |
download | 4grab-91e0b5dc665679e30cfd2114a68adce9af04a3e9.tar.gz 4grab-91e0b5dc665679e30cfd2114a68adce9af04a3e9.zip |
merged with commit from RAAM
Diffstat (limited to 'download.py')
-rw-r--r-- | download.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/download.py b/download.py index e448fa0..003e718 100644 --- a/download.py +++ b/download.py @@ -6,6 +6,8 @@ import progressbar import config savedir = config.Configuration().get_download_location() +if not os.path.exists(savedir): + os.makedirs(savedir) def get_thread_links(baseurl): myparser = htmlparser.MyParser() |