primetang / pylsd

python bindings for LSD - Line Segment Detector.
Other
159 stars 63 forks source link

a try-except syntax error #9

Open dogod621 opened 5 years ago

dogod621 commented 5 years ago

I am just use pip3.6 to install the package, but a try-except syntax error occurs when I import it.

pylsd/bindings/lsd_ctypes .py: line 34

except Exception, e:
                pass

fix:

except Exception as e:
                pass