pass_typer: Match more CMS octopi instances

This commit is contained in:
Adam Goldsmith 2024-10-26 13:01:19 -04:00
parent 1f32ebb24c
commit 783f7d5005

View File

@ -41,7 +41,7 @@ class ServerMatch:
elif host.lower().startswith("cms-wall-display") or host.startswith("iPad"): elif host.lower().startswith("cms-wall-display") or host.startswith("iPad"):
self.folder = "cms" self.folder = "cms"
self.host = "ipads" self.host = "ipads"
elif host in ("octopi-taz-6", "octopi-lulzbot-mini"): elif host.lower().startswith("octopi-"):
self.folder = "cms" self.folder = "cms"
self.host = "octopi" self.host = "octopi"
elif re.match(".*-pidgey(.vpn)?", host): elif re.match(".*-pidgey(.vpn)?", host):