Explorar el Código

Fixed the constructors to use the correct MD5 hash

Yentl Van Tendeloo hace 8 años
padre
commit
c3916d1379
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      interface/HUTN/hutn_compiler/constructors_object_visitor.py

+ 1 - 0
interface/HUTN/hutn_compiler/constructors_object_visitor.py

@@ -35,6 +35,7 @@ class ConstructorsObjectVisitor(ConstructorsVisitor):
         flush_data([3, "is_defined", self.obj_file])
 
         v = urllib2.urlopen(urllib2.Request(self.address, urllib.urlencode({"op": "get_output", "username": self.username}))).read()
+        v = json.loads(v)
         simple_filename = self.real_file.rsplit("/")[-1]
         if v == "None":
             # Not defined, so recompile