From 7cac0934830f3889877f281afca90ae9b3862e0a Mon Sep 17 00:00:00 2001 From: "jp8046@student.uni-lj.si" Date: Fri, 12 Dec 2014 17:25:27 +0000 Subject: 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 --- kpov_judge/tasks/snmp_agent_uptime/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kpov_judge/tasks/snmp_agent_uptime') 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): -- cgit v1.2.1