prim-ctrl 0.6.3__tar.gz → 0.6.4__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.1
2
2
  Name: prim-ctrl
3
- Version: 0.6.3
3
+ Version: 0.6.4
4
4
  Summary: Primitive Ctrl - Remote control of your phone's Primitive FTPd Android SFTP server and optionally Tailscale VPN.
5
5
  Home-page: https://github.com/lmagyar/prim-ctrl
6
6
  License: Apache-2.0
@@ -13,6 +13,7 @@ Classifier: License :: OSI Approved :: Apache Software License
13
13
  Classifier: Operating System :: OS Independent
14
14
  Classifier: Programming Language :: Python :: 3
15
15
  Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Programming Language :: Python :: 3.13
16
17
  Requires-Dist: aiohttp (>=3.11.10,<4.0.0)
17
18
  Requires-Dist: dnspython (>=2.7.0,<3.0.0)
18
19
  Requires-Dist: platformdirs (>=4.3.6,<5.0.0)
@@ -822,7 +822,8 @@ class Control:
822
822
  state[Control.LOCAL_VPN] = local_vpn_state
823
823
 
824
824
  # start changing local state - we need a local vpn to be able to access the state of the remote vpn and optionally the phone
825
- await local.vpn.start(10, 30)
825
+ if not state[Control.LOCAL_VPN]:
826
+ await local.vpn.start(10, 30)
826
827
 
827
828
  zeroconf_accessible = False
828
829
  remote_accessible = False
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "prim-ctrl"
3
- version = "0.6.3"
3
+ version = "0.6.4"
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