[gen] When duplicating a file via appy.fields.file::FileInfo.replicateFile, the source file can be binary data in a str instead of an opened file handler.

This commit is contained in:
Gaetan Delannay 2014-10-01 16:21:12 +02:00
parent ae69509354
commit a671094167
3 changed files with 6 additions and 1 deletions

View file

@ -1203,6 +1203,7 @@ class ToolMixin(BaseMixin):
user = tool.user
else:
user = tool.search1('User', noSecurity=True, login=login)
if not user: return login
return user.getTitle(normalized=normalized)
def tempFile(self):