Yentl Van Tendeloo 8 rokov pred
rodič
commit
6fa6a81439
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      wrappers/modelverse.py

+ 1 - 1
wrappers/modelverse.py

@@ -64,7 +64,7 @@ prev_mode = None
 current_model = None
 
 def _check_value(value):
-    if not isinstance(value, [int, long, float, str, unicode, bool])
+    if not isinstance(value, [int, long, float, str, unicode, bool]):
         raise UnsupportedValue("%s : %s" % (value, str(type(value))))
 
 def _dict_to_list(python_dict):