Allow music_folder to not have trailing /
This commit is contained in:
committed by
Terry Geng
parent
49779c20ae
commit
6bc9a9a8e0
2
util.py
2
util.py
@ -40,8 +40,6 @@ def get_recursive_file_list_sorted(path):
|
||||
relroot = root.replace(path, '', 1)
|
||||
if relroot != '' and relroot in var.config.get('bot', 'ignored_folders'):
|
||||
continue
|
||||
if len(relroot):
|
||||
relroot += '/'
|
||||
for file in files:
|
||||
if file in var.config.get('bot', 'ignored_files'):
|
||||
continue
|
||||
|
Reference in New Issue
Block a user