diff -r 316ee9fff395 -r 5587c490a070 plcopen/plcopen.py --- a/plcopen/plcopen.py Tue Oct 02 17:18:09 2018 +0300 +++ b/plcopen/plcopen.py Tue Oct 02 18:08:49 2018 +0300 @@ -298,7 +298,7 @@ return tree, error - except Exception, e: + except Exception as e: return None, e.message