Verified Commit cc3a467c authored by c's avatar c
Browse files

TorNet: replace os.symlink with Path.symlink_to

I seem to have glanced over Path.symlink_to() in pathlib documentation,
or forgotten to change this line of code, one of the two
parent 64ff5dc6
......@@ -2162,7 +2162,7 @@ class Network(object):
pass
else:
raise
os.symlink(newnodesdir, nodeslink)
newnodesdir.symlink_to(nodeslink)
def _checkConfig(self):
for n in self._nodes:
......
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