aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xponysay2
1 files changed, 1 insertions, 1 deletions
diff --git a/ponysay b/ponysay
index d59e781..605fb78 100755
--- a/ponysay
+++ b/ponysay
@@ -903,7 +903,7 @@ class Backend():
else:
(w, h) = (0, 0)
props = dollar[7:]
- if len(props) == 0:
+ if len(props) > 0:
if ',' in props:
if props[0] is not ',':
w = int(props[:props.index(',')])