changeset 1780 | c52d1460cea8 |
parent 1777 | c46ec818bdd7 |
child 1831 | 56b48961cc68 |
--- a/plcopen/plcopen.py Sat Aug 19 17:17:54 2017 +0300 +++ b/plcopen/plcopen.py Sat Aug 19 18:12:20 2017 +0300 @@ -2557,7 +2557,7 @@ for element in self.value: try: repetition = int(element.getrepetitionValue()) - except: + except Exception: repetition = 1 if repetition > 1: value = element.getvalue()