Skip to content

Commit

Permalink
Merge pull request #61 from cclauss/patch-1
Browse files Browse the repository at this point in the history
Fix Python 3 syntax error
  • Loading branch information
civerachb-cpr authored May 25, 2020
2 parents 70916df + 2dabea0 commit d4c7c88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodes/axis.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def openURL(self):
try:
self.fp = urllib2.urlopen(self.url, timeout=self.timeoutSeconds)
return(True)
except urllib2.URLError, e:
except urllib2.URLError as e:
rospy.logwarn('Error opening URL %s' % (self.url) +
'Possible timeout. Looping until camera appears')
return(False)
Expand Down

0 comments on commit d4c7c88

Please sign in to comment.