diff --git a/src/backend.py b/src/backend.py index 2cc539a5..82ff1496 100644 --- a/src/backend.py +++ b/src/backend.py @@ -291,7 +291,7 @@ class Backend(): props = dollar[7:] if len(props) > 0: if ',' in props: - if props[0] is not ',': + if props[0] != ',': w = props[:props.index(',')] h = int(props[props.index(',') + 1:]) else: