From 5c736f63ae56b4a1ee464dd39e26315d3b95cfd1 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 8 Oct 2012 18:22:13 +0200 Subject: syntax fix --- ponysay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)] -- cgit