found another getUrl

This commit is contained in:
j 2009-10-15 14:57:07 +02:00
parent cff20af4e7
commit 3aad9feb47
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ def saveUrl(url, filename, overwrite=False):
dirname = os.path.dirname(filename)
if not os.path.exists(dirname):
os.makedirs(dirname)
data = getUrl(url)
data = readUrl(url)
f = open(filename, 'w')
f.write(data)
f.close()