Skip to content

Commit

Permalink
Fix a warning about incorrect escape sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
Fat-Zer committed Dec 12, 2024
1 parent 6608ff8 commit 9495acb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion printrun/pronterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -2096,7 +2096,7 @@ def listfiles(self, line, ignored = False):
self.recvlisteners.remove(self.listfiles)
wx.CallAfter(self.filesloaded)
elif self.sdlisting:
self.sdfiles.append(re.sub(" \d+$", "", line.strip().lower())) # NOQA
self.sdfiles.append(re.sub(r" \d+$", "", line.strip().lower())) # NOQA

def waitforsdresponse(self, l):
if "file.open failed" in l:
Expand Down

0 comments on commit 9495acb

Please sign in to comment.