diff options
author | Mattias Andrée <maandree@operamail.com> | 2012-10-08 18:22:13 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2012-10-08 18:22:13 +0200 |
commit | 5c736f63ae56b4a1ee464dd39e26315d3b95cfd1 (patch) | |
tree | 3da69bdac246aa64f46091ecf411ee6dafc5c294 | |
parent | 4ea588f966d2911be4f4b1c3bb9be59c01d3cc2a (diff) | |
download | ponysay-5c736f63ae56b4a1ee464dd39e26315d3b95cfd1.tar.gz ponysay-5c736f63ae56b4a1ee464dd39e26315d3b95cfd1.tar.bz2 ponysay-5c736f63ae56b4a1ee464dd39e26315d3b95cfd1.zip |
syntax fix
-rwxr-xr-x | ponysay.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)] |