fix SyntaxWarnings

This commit is contained in:
0xDEADFED5 2025-03-30 20:29:02 -07:00
parent 5b2963fc46
commit 688a940d73
4 changed files with 6 additions and 6 deletions

View file

@ -3249,7 +3249,7 @@ class CmdFind(COMMAND_DEFAULT_CLASS):
try:
# Check that rhs is either a valid dbref or dbref range
bounds = tuple(
sorted(dbref(x, False) for x in re.split("[-\s]+", self.rhs.strip()))
sorted(dbref(x, False) for x in re.split(r"[-\s]+", self.rhs.strip()))
)
# dbref() will return either a valid int or None