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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: prim-ctrl
3
- Version: 0.7.9
3
+ Version: 0.7.10
4
4
  Summary: 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
  Author: Laszlo Magyar
@@ -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.hostname == machine_name:
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.9"
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