From 330867a8875d62e2f3e9d69b9d379ce038e9fa7d Mon Sep 17 00:00:00 2001 From: Tat-Chee Wan (USM) Date: Thu, 19 May 2011 09:54:26 +0800 Subject: fixed statusvar initialization to use provided value --- pyfantom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyfantom.py') diff --git a/pyfantom.py b/pyfantom.py index 90fa389..9c8f954 100644 --- a/pyfantom.py +++ b/pyfantom.py @@ -195,7 +195,7 @@ class StatusVar(Structure): def __init__(self, code=0): """Initialize Status Variable.""" - self.value = 0 + self.value = code def __str__(self): return str(self.value) -- cgit v1.2.3