Commit 1e3b2e38 authored by Tiago Peixoto's avatar Tiago Peixoto

collection: fix error when parsing Konect metadata

parent b1f60a24
......@@ -88,7 +88,7 @@ def load_koblenz_dir(dirname):
meta[v] = line.strip()
count += 1
except ValueError as e:
warnings.warn("error automatically reading node metadata from file '%s': %s" % (file, str(e)))
warnings.warn("error automatically reading node metadata from file '%s': %s" % (f, str(e)))
return g
def get_koblenz_network_data(name):
......
Markdown is supported
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