From: Marta Carbone Date: Thu, 23 Apr 2009 16:04:41 +0000 (+0000) Subject: Fix, update the dummynet key. X-Git-Tag: PLCAPI-4.3-12~3 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=6b031d4a701d9d384b3df89b7f7ef1502e600c88;p=plcapi.git Fix, update the dummynet key. --- diff --git a/PLC/Methods/GetDummyBoxMedium.py b/PLC/Methods/GetDummyBoxMedium.py index fd5d3e12..fb5297ef 100644 --- a/PLC/Methods/GetDummyBoxMedium.py +++ b/PLC/Methods/GetDummyBoxMedium.py @@ -156,8 +156,8 @@ class GetDummyBoxMedium(Method): os.system("rm %s" % (lockfile)) # if all goes fine store the key in the database - dummybox['key'] = new_key - dummybox.sync() + dummybox_info['key'] = new_key + dummybox_info.sync() # return the file's content base64-encoded result = file(IMAGE_NAME).read()