소스 검색

Fix missing colon

Yentl Van Tendeloo 8 년 전
부모
커밋
6fa6a81439
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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):