plugins/canfestival/config_utils.py
changeset 225 aed21ae6658f
parent 166 121b18748de0
child 270 3b8fb275cf7e
--- a/plugins/canfestival/config_utils.py	Tue Aug 26 15:31:09 2008 +0200
+++ b/plugins/canfestival/config_utils.py	Thu Aug 28 14:22:45 2008 +0200
@@ -508,7 +508,7 @@
                     continue
                 new_index = False
                 
-                if type(variable) == IntType:
+                if isinstance(variable, (IntType, LongType)):
                     # If variable is an integer then variable is unexpected
                     self.MasterNode.SetEntry(current_idx + 0x200, subindex, self.TrashVariables[variable])
                 else: