This commit is contained in:
Mattias Andrée 2012-08-20 03:34:54 +02:00
parent 77c767cb40
commit 4f3ce661ee

View file

@ -903,7 +903,7 @@ class Backend():
else: else:
(w, h) = (0, 0) (w, h) = (0, 0)
props = dollar[7:] props = dollar[7:]
if len(props) == 0: if len(props) > 0:
if ',' in props: if ',' in props:
if props[0] is not ',': if props[0] is not ',':
w = int(props[:props.index(',')]) w = int(props[:props.index(',')])