Create binary files for images

This commit is contained in:
Ruud
2012-01-14 22:05:34 +01:00
parent e9094d4c6c
commit 6ec420db86
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ class FileManager(Plugin):
dest = os.path.join(Env.get('cache_dir'), '%s.%s' % (md5(url), getExt(url)))
if overwrite or not os.path.isfile(dest):
self.createFile(dest, filedata)
self.createFile(dest, filedata, binary = True)
return dest