[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:
parent
ae69509354
commit
a671094167
3 changed files with 6 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue