summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorMartin <martin@leo.fri1.uni-lj.si>2015-10-07 08:34:49 +0200
committerMartin <martin@leo.fri1.uni-lj.si>2015-10-07 08:34:49 +0200
commit0e92e87812a7c11edbdee9c1590a2cad53f3577c (patch)
treefc3d4a33980562273d15a2828da6d66c62035945 /python
parenta451016b9efa919d7564fc75ab812052d1cd25f5 (diff)
parentea99111b2565035ac60e971db5a050a2d2614bb5 (diff)
Merge branch 'master' of 192.168.15.97:codeq-problems
Diffstat (limited to 'python')
-rw-r--r--python/common.py1
-rw-r--r--python/sl.py6
2 files changed, 6 insertions, 1 deletions
diff --git a/python/common.py b/python/common.py
index 26f3881..c754a1a 100644
--- a/python/common.py
+++ b/python/common.py
@@ -5,6 +5,7 @@ from server.hints import Hint
hint_type = {
'no_hint': Hint('no_hint'),
+ 'program_already_correct': Hint('program_already_correct'),
'system_error': Hint('system_error'),
'test_results': Hint('test_results'),
'syntax_error': Hint('syntax_error'),
diff --git a/python/sl.py b/python/sl.py
index 2600480..af06db9 100644
--- a/python/sl.py
+++ b/python/sl.py
@@ -35,9 +35,13 @@ Npr., sešteti niz in število ali klicati funkcijo, čeprav tisto ni funkcija,
hint = {
'no_hint': ['''\
-<p>Namig ne obstaja! Poskusi uporabiti misli.</p>
+<p>Namig ne obstaja.</p>
'''],
+'program_already_correct': '''\
+<p>Tvoj program je pravilen!</p>
+''',
+
'system_error': ['''\
<p><span style="color: red;">Sistemska napaka:</span> [%=message%].</p>
'''],