mirror of
https://github.com/CoeJoder/lessfilter-pygmentize.git
synced 2025-11-08 05:03:48 -05:00
Fix for filenames with leading wildcard
This commit is contained in:
2
main.py
2
main.py
@@ -69,7 +69,7 @@ def fetch_lexers():
|
||||
for filename in filenames:
|
||||
filename = filename.strip()
|
||||
if '\\' not in filename:
|
||||
if filename.startswith('*'):
|
||||
if filename.startswith(r'*.'):
|
||||
ext_values = recognized_extensions.setdefault(name, [])
|
||||
ext_values.append(filename[1:])
|
||||
elif filename != 'None':
|
||||
|
||||
Reference in New Issue
Block a user