Explorar o código

Fix flags default value

なるみ %!s(int64=6) %!d(string=hai) anos
pai
achega
dc2b676b25
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      labelme/label_file.py

+ 1 - 1
labelme/label_file.py

@@ -121,7 +121,7 @@ class LabelFile(object):
         if otherData is None:
             otherData = {}
         if flags is None:
-            flags = []
+            flags = {}
         data = dict(
             version=__version__,
             flags=flags,