Remove fid in events
This commit is contained in:
parent
dfc4ec89d6
commit
199f710e10
1 changed files with 2 additions and 2 deletions
|
|
@ -92,7 +92,7 @@ def div(args, type_, subtype, tag, name, fid):
|
||||||
else:
|
else:
|
||||||
filename = '<span class="filename">{}</span>'.format(name)
|
filename = '<span class="filename">{}</span>'.format(name)
|
||||||
|
|
||||||
if len(str(fid)) >= 36: # detect if fid is uuid
|
if len(str(fid)) >= 36 or fid<0: # detect if fid is uuid
|
||||||
if 'image' in type_:
|
if 'image' in type_:
|
||||||
html = '<div class="{}">{}</div>'
|
html = '<div class="{}">{}</div>'
|
||||||
elif 'pdf' in subtype:
|
elif 'pdf' in subtype:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue