aboutsummaryrefslogtreecommitdiff
path: root/ponysay
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-08-20 03:34:54 +0200
committerMattias Andrée <maandree@operamail.com>2012-08-20 03:34:54 +0200
commit4f3ce661eedc9d3b5c71f0f86aad616059fc251d (patch)
tree9fe13eb22c32ac4361f8121dfbc32483a4a1fa5e /ponysay
parent77c767cb40975032c9ab146d53fe88b6b9d3891f (diff)
downloadponysay-4f3ce661eedc9d3b5c71f0f86aad616059fc251d.tar.gz
ponysay-4f3ce661eedc9d3b5c71f0f86aad616059fc251d.tar.bz2
ponysay-4f3ce661eedc9d3b5c71f0f86aad616059fc251d.zip
derp
Diffstat (limited to 'ponysay')
-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(',')])