aboutsummaryrefslogtreecommitdiff
path: root/ponysay
diff options
context:
space:
mode:
Diffstat (limited to 'ponysay')
-rwxr-xr-xponysay4
1 files changed, 2 insertions, 2 deletions
diff --git a/ponysay b/ponysay
index 6086352..50e19b2 100755
--- a/ponysay
+++ b/ponysay
@@ -175,7 +175,7 @@ class Ponysay():
if not names == None:
for name in names:
- if os.path.isfile(name):
+ if os.path.exists(name):
ponies[name] = name
if names == None:
@@ -455,7 +455,7 @@ class Ponysay():
balloons[balloon] = balloondir + balloonfile
for name in names:
- if os.path.isfile(name):
+ if os.path.exists(name):
balloons[name] = name
if names == None: