mirror of
https://github.com/erkin/ponysay
synced 2024-11-15 16:07:59 +00:00
syntax fix
This commit is contained in:
parent
4ea588f966
commit
5c736f63ae
1 changed files with 1 additions and 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)]
|
||||
|
|
Loading…
Reference in a new issue