Skip to content
Commits on Source (2)
...@@ -147,9 +147,12 @@ def get_marks_list_for_target_folder( uuid, admin = True ): ...@@ -147,9 +147,12 @@ def get_marks_list_for_target_folder( uuid, admin = True ):
pc = config.db.query_fetchone( sql, ( uuid, ) )[ "pc" ] pc = config.db.query_fetchone( sql, ( uuid, ) )[ "pc" ]
for m in marks_list_tmp: for m in marks_list_tmp:
for z in m[ "pfsp" ].split( "," ): try:
if pc in pfsp2fpc[ z ]: for z in m[ "pfsp" ].split( "," ):
marks_list.append( m ) if pc in pfsp2fpc[ z ]:
marks_list.append( m )
except:
continue
return marks_list return marks_list
......
...@@ -3,13 +3,6 @@ ...@@ -3,13 +3,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <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 %} {% autoescape false %}
{{ app_files }} {{ app_files }}
{% endautoescape %} {% endautoescape %}
......
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <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 %} {% autoescape false %}
{{ app_files }} {{ app_files }}
{% endautoescape %} {% endautoescape %}
......
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <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 %} {% autoescape false %}
{{ app_files }} {{ app_files }}
{% endautoescape %} {% endautoescape %}
......