Skip to content

Commit

Permalink
fix escape seq warning
Browse files Browse the repository at this point in the history
  • Loading branch information
matthuisman committed Jul 30, 2024
1 parent 5eb6113 commit 8d9eea3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ def endOfDirectory(handle, succeeded=True, updateListing=False, cacheToDisc=True
for idx, item in enumerate(DATA['items']):
label = item[1].getLabel()
for tag in FORMAT_TAGS:
label = re.sub('\[/?{}.*?]'.format(tag), '', label)
label = re.sub(r'\[/?{}.*?]'.format(tag), '', label)

_print("{}: {}".format(idx, label))

Expand Down

0 comments on commit 8d9eea3

Please sign in to comment.