Skip to content
Commits on Source (2)
......@@ -147,9 +147,12 @@ def get_marks_list_for_target_folder( uuid, admin = True ):
pc = config.db.query_fetchone( sql, ( uuid, ) )[ "pc" ]
for m in marks_list_tmp:
for z in m[ "pfsp" ].split( "," ):
if pc in pfsp2fpc[ z ]:
marks_list.append( m )
try:
for z in m[ "pfsp" ].split( "," ):
if pc in pfsp2fpc[ z ]:
marks_list.append( m )
except:
continue
return marks_list
......
......@@ -3,13 +3,6 @@
<!DOCTYPE html>
<html>
<head>
{% for src in js %}
<script type="text/javascript" src="{{ src }}"></script>
{% endfor %}
{% for src in css %}
<link type="text/css" rel="stylesheet" href="{{ src }}">
{% endfor %}
{% autoescape false %}
{{ app_files }}
{% endautoescape %}
......
<!DOCTYPE html>
<html>
<head>
{% for src in js %}
<script type="text/javascript" src="{{ src }}"></script>
{% endfor %}
{% for src in css %}
<link type="text/css" rel="stylesheet" href="{{ src }}">
{% endfor %}
{% autoescape false %}
{{ app_files }}
{% endautoescape %}
......
<!DOCTYPE html>
<html>
<head>
{% for src in js %}
<script type="text/javascript" src="{{ src }}"></script>
{% endfor %}
{% for src in css %}
<link type="text/css" rel="stylesheet" href="{{ src }}">
{% endfor %}
{% autoescape false %}
{{ app_files }}
{% endautoescape %}
......