filter self.sync_alphabetically for allowed file extentions
This commit is contained in:
parent
11f1b3f00d
commit
8f668eba00
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ class sync(object):
|
|||
self.sync_using_given_index(basepath, folders, files)
|
||||
|
||||
else:
|
||||
self.sync_alphabetically(basepath, folders, files)
|
||||
self.sync_alphabetically(basepath, folders, [filename for filename in files if filename.endswith('html') or filename.endswith('md')])
|
||||
|
||||
|
||||
def get_index_txt(self, basepath, files):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue