mirror of
https://github.com/jackeilles/xygt.git
synced 2024-11-09 16:32:37 +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,
|
||||
'filename': filename,
|
||||
'filesize': fileSize,
|
||||
'mimetype': file.content_type,
|
||||
'mimetype': file.content_type if file.content_type != None else "text/plain",
|
||||
'retention': retention,
|
||||
'userid': userid,
|
||||
'ip': ip,
|
||||
|
|
Loading…
Reference in a new issue