mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Remove redundant character escape in regex
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
parent
452cce6137
commit
38a5afe88c
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ def main(args):
|
|||
else:
|
||||
# Enumerate all holiday files in the current directory.
|
||||
locales = []
|
||||
re_holiday_file = re.compile(r"\/holidays.([a-z]{2}-[A-Z]{2}$)")
|
||||
re_holiday_file = re.compile(r"/holidays.([a-z]{2}-[A-Z]{2}$)")
|
||||
for file in enumerate('.'):
|
||||
result = re_holiday_file.search(file)
|
||||
if result:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue