# HG changeset patch # User Laman # Date 2018-04-15 17:19:29 # Node ID d3fc4f54e2ee05f183dd8e9608aa99ddce43ab84 # Parent f669c32706e519662dcb22479dbb10137ec3ef57 fixed crash on unknown SGF property diff --git a/src/sgfParser/property.py b/src/sgfParser/property.py --- a/src/sgfParser/property.py +++ b/src/sgfParser/property.py @@ -42,7 +42,7 @@ class Property: else: # !! raise or log or ignore # print('warning, unknown property "{0}" at position {1}'.format(name,start)) - return choose(listOf(anything)(s, start), singleton(anything)(s, start)) + return choose(listOf(anything), singleton(anything))(s,start) @property def type(self):