make paper titles with slashes work

This commit is contained in:
Bryan Bishop 2013-01-21 11:44:13 -06:00
parent eba857dd7e
commit e021c543aa

View File

@ -195,6 +195,9 @@ def download_url(url):
# well, at least save the contents from the original url
pass
# can't create directories
title = title.replace("/", "_")
path = os.path.join("/home/bryan/public_html/papers2/paperbot/", title + extension)
file_handler = open(path, "w")