Skip to content
Snippets Groups Projects
Commit 0e49c8f9 authored by juga's avatar juga
Browse files

Fix args initializing V3BWLine from lines

parent e62a0354
Branches
Tags
No related merge requests found
......@@ -278,7 +278,11 @@ class V3BWLine(object):
for k, v in kwargs.items():
if k in BW_KEYVALUES_INT:
kwargs[k] = int(v)
bw_line = cls(**kwargs)
node_id = kwargs['node_id']
bw = kwargs['bw']
del kwargs['node_id']
del kwargs['bw']
bw_line = cls(node_id, bw, **kwargs)
return bw_line
@staticmethod
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment