Skip to content
Snippets Groups Projects
Commit 6f5a4671 authored by Bryan Tong Minh's avatar Bryan Tong Minh
Browse files

import StringIO

parent 9d118e20
No related branches found
No related tags found
No related merge requests found
...@@ -39,7 +39,8 @@ def protectright(version): ...@@ -39,7 +39,8 @@ def protectright(version):
return 'editprotected' return 'editprotected'
else: else:
return 'protect' return 'protect'
from cStringIO import StringIO
def old_upload(self, file, filename, description, license = '', ignore = False, file_size = None): def old_upload(self, file, filename, description, license = '', ignore = False, file_size = None):
image = self.Images[filename] image = self.Images[filename]
if not image.can('upload'): if not image.can('upload'):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment