summaryrefslogtreecommitdiff
path: root/kpov_judge/tasks/snmp_agent_uptime
diff options
context:
space:
mode:
authorjp8046@student.uni-lj.si <jp8046@student.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2014-12-12 17:25:27 +0000
committerjp8046@student.uni-lj.si <jp8046@student.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2014-12-12 17:25:27 +0000
commit7cac0934830f3889877f281afca90ae9b3862e0a (patch)
treec7a27626998c4e296a44acc91c0bd293d09799a5 /kpov_judge/tasks/snmp_agent_uptime
parent6d8d125adc395f837e45e24e9fa878506a286176 (diff)
8:poglavje popravo napako v get-parmet()
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@53 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
Diffstat (limited to 'kpov_judge/tasks/snmp_agent_uptime')
-rw-r--r--kpov_judge/tasks/snmp_agent_uptime/task.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kpov_judge/tasks/snmp_agent_uptime/task.py b/kpov_judge/tasks/snmp_agent_uptime/task.py
index 9aaa20b..fc720a2 100644
--- a/kpov_judge/tasks/snmp_agent_uptime/task.py
+++ b/kpov_judge/tasks/snmp_agent_uptime/task.py
@@ -119,7 +119,7 @@ def task(SNMP_VALUE, SNMP_OID_ON_SERVER, SNMP_OID_ON_CLIENT):
def gen_params(user_id, params_meta):
params = dict()
r = random.randrange(1,255,1)
- paras_meta[SNMP_VAULE[Value]]=r
+ params_meta[SNMP_VAULE[Value]]=r
return r
def task_check(results, params):