mirror of
https://github.com/jackeilles/xygt.git
synced 2024-11-21 22:32:39 +01:00
start fix on fucked db entries
This commit is contained in:
parent
e5d565dc7c
commit
41e70bf9c3
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ def uploadFile(file, ip, userid, filename, id, retention):
|
||||||
'id': id,
|
'id': id,
|
||||||
'filename': filename,
|
'filename': filename,
|
||||||
'filesize': fileSize,
|
'filesize': fileSize,
|
||||||
'mimetype': file.content_type,
|
'mimetype': file.content_type if file.content_type != None else "text/plain",
|
||||||
'retention': retention,
|
'retention': retention,
|
||||||
'userid': userid,
|
'userid': userid,
|
||||||
'ip': ip,
|
'ip': ip,
|
||||||
|
|
Loading…
Reference in a new issue