pass_typer: Remove unnecessary format string

This commit is contained in:
Adam Goldsmith 2022-12-15 18:49:11 -05:00
parent 6fb8597973
commit 306548b39d

View File

@ -23,7 +23,7 @@ def alias(server_name):
case [user, at, ("octopi-taz-6" | "octopi-lulzbot-mini")]: case [user, at, ("octopi-taz-6" | "octopi-lulzbot-mini")]:
return f"cms/{user}{at}octopi" return f"cms/{user}{at}octopi"
case [user, at, server] if re.match(".*-pidgey(.vpn)?", server): case [user, at, server] if re.match(".*-pidgey(.vpn)?", server):
return f"tsrc/pidgey" return "tsrc/pidgey"
case _: case _:
return f"**/{server_name}" return f"**/{server_name}"