diff options
-rw-r--r-- | gemfeed.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -57,7 +57,7 @@ def find_files(directory, n=10): for extension in ("gmi", "gemini"): glob_pattern = os.path.join(directory, "*.{}".format(extension)) files.extend(glob.glob(glob_pattern)) - index = "index.{}".format(extension) + index = os.path.join(directory, "index.{}".format(extension)) if index in files: files.remove(index) files = [f for f in files if is_world_readable(f)] |