Skip to content

Commit

Permalink
fix: removes double quotes included in ignored_languages
Browse files Browse the repository at this point in the history
- closes #165
  • Loading branch information
yozachar authored Aug 21, 2024
1 parent 6c9d7fd commit 45a6f95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,10 +277,10 @@ def _extract_ignored_languages():
temp = ""
for igl in wk_i.ignored_languages.strip().split():
if igl.startswith('"'):
temp = igl
temp = igl.lstrip('"')
continue
if igl.endswith('"'):
igl = f"{temp} {igl}"
igl = f"{temp} {igl.rstrip('"')}"
temp = ""
yield igl

Expand Down

0 comments on commit 45a6f95

Please sign in to comment.