aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xponysay.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ponysay.py b/ponysay.py
index 71ea42e..793e31b 100755
--- a/ponysay.py
+++ b/ponysay.py
@@ -1750,7 +1750,7 @@ class SpelloCorrecter: # Naïvely and quickly proted and adapted from optimised
self.dictionary[-1] = previous;
for directory in directories:
- for filename : os.listdir(directory):
+ for filename in os.listdir(directory):
if (not endswith(filename, ending)) or (len(filename) - len(ending) > 127):
continue
proper = filename[:-len(ending)]