prim-ctrl 0.7.9__tar.gz → 0.7.10__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {prim_ctrl-0.7.9 → prim_ctrl-0.7.10}/PKG-INFO +1 -1
- {prim_ctrl-0.7.9 → prim_ctrl-0.7.10}/prim_ctrl/__main__.py +2 -1
- {prim_ctrl-0.7.9 → prim_ctrl-0.7.10}/pyproject.toml +1 -1
- {prim_ctrl-0.7.9 → prim_ctrl-0.7.10}/LICENSE +0 -0
- {prim_ctrl-0.7.9 → prim_ctrl-0.7.10}/README.md +0 -0
- {prim_ctrl-0.7.9 → prim_ctrl-0.7.10}/prim_ctrl/__init__.py +0 -0
|
@@ -652,8 +652,9 @@ class Tailscale():
|
|
|
652
652
|
assert self.tailscale_api is not None
|
|
653
653
|
logger.debug("Calling Tailscale API for devices")
|
|
654
654
|
devices = await self.tailscale_api.devices()
|
|
655
|
+
name = f"{machine_name}.{self.tailnet}"
|
|
655
656
|
for device in devices.values():
|
|
656
|
-
if device.
|
|
657
|
+
if device.name == name:
|
|
657
658
|
return device
|
|
658
659
|
raise RuntimeError(f"Device {machine_name} in {self.tailnet} is unknown by Tailscale")
|
|
659
660
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "prim-ctrl"
|
|
3
|
-
version = "0.7.
|
|
3
|
+
version = "0.7.10"
|
|
4
4
|
description = "Primitive Ctrl - Remote control of your phone's Primitive FTPd Android SFTP server and optionally Tailscale VPN."
|
|
5
5
|
license = "Apache-2.0"
|
|
6
6
|
authors = ["Laszlo Magyar <lmagyar1973@gmail.com>"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|