diff options
author | Mattias Andrée <maandree@operamail.com> | 2012-08-22 01:59:06 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2012-08-22 01:59:06 +0200 |
commit | beeed62f49f98fc2b29b8f057fd3499a22cad22b (patch) | |
tree | 9b7644462d8ada8f9cb44e99c0c078713be71938 | |
parent | 22d7318624f834254ecdb0c6bdf9536dee3cae37 (diff) | |
download | ponysay-beeed62f49f98fc2b29b8f057fd3499a22cad22b.tar.gz ponysay-beeed62f49f98fc2b29b8f057fd3499a22cad22b.tar.bz2 ponysay-beeed62f49f98fc2b29b8f057fd3499a22cad22b.zip |
support pipes and sockets as ponyfiles and balloon files
-rwxr-xr-x | ponysay | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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: |