Skip to content

Commit

Permalink
Update asg.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pfernique committed Oct 10, 2017
1 parent 51ba219 commit 4d04abd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/py/autowig/asg.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def parent(self):
"""
if self._node == os.path.abspath(os.sep):
return None
elif self._node in ["/", r"\"]:
elif self._node in ["/", "\\"]:
return None
else:
return self._asg[self.globalname[:len(self.globalname)-len(self.localname)]]
Expand Down

0 comments on commit 4d04abd

Please sign in to comment.