--- 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