Commit a18ba05a authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Fix bug when saving filtered graphs

parent 78c7df83
Pipeline #36 passed with stage
......@@ -2365,7 +2365,7 @@ class Graph(object):
raise ValueError("lzma compression is only available in Python >= 3.3")
props = [(_c_str(name[1]), prop._PropertyMap__map) for name, prop in \
self.__properties.items()]
u.__properties.items()]
if isinstance(file_name, (str, unicode)):
f = open(file_name, "w") # throw the appropriate exception, if
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment