prim-ctrl 0.8.7__tar.gz → 0.8.8__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.8.7 → prim_ctrl-0.8.8}/PKG-INFO +1 -1
- {prim_ctrl-0.8.7 → prim_ctrl-0.8.8}/prim_ctrl/__main__.py +2 -2
- {prim_ctrl-0.8.7 → prim_ctrl-0.8.8}/pyproject.toml +1 -1
- {prim_ctrl-0.8.7 → prim_ctrl-0.8.8}/LICENSE +0 -0
- {prim_ctrl-0.8.7 → prim_ctrl-0.8.8}/README.md +0 -0
- {prim_ctrl-0.8.7 → prim_ctrl-0.8.8}/prim_ctrl/__init__.py +0 -0
|
@@ -1236,7 +1236,7 @@ class Control:
|
|
|
1236
1236
|
case 'test':
|
|
1237
1237
|
if self.local.vpn and self.phone.vpn and self.phone.remote_sftp and self.phone.state:
|
|
1238
1238
|
if await self.local.vpn.test():
|
|
1239
|
-
phone_state, _vpn_state = await gather_with_taskgroup(self.phone.state.get(10,
|
|
1239
|
+
phone_state, _vpn_state = await gather_with_taskgroup(self.phone.state.get(10, 60), self.phone.vpn.test())
|
|
1240
1240
|
elif self.local.vpn and self.phone.vpn and self.phone.remote_sftp and await self.local.vpn.test() and await self.phone.vpn.test():
|
|
1241
1241
|
await self.phone.remote_sftp.test()
|
|
1242
1242
|
else:
|
|
@@ -1258,7 +1258,7 @@ class Control:
|
|
|
1258
1258
|
|
|
1259
1259
|
# gather phone state info
|
|
1260
1260
|
if self.phone.state:
|
|
1261
|
-
phone_state, phone_vpn_state = await gather_with_taskgroup(self.phone.state.get(10,
|
|
1261
|
+
phone_state, phone_vpn_state = await gather_with_taskgroup(self.phone.state.get(10, 60), self.phone.vpn.test())
|
|
1262
1262
|
state[Control.PHONE_WIFI] = phone_state[PhoneState.WIFI]
|
|
1263
1263
|
state[Control.PHONE_VPN] = phone_vpn_state
|
|
1264
1264
|
state[Control.PHONE_SFTP] = phone_state[PhoneState.PFTPD]
|
|
@@ -3,7 +3,7 @@ packages = [{include = "prim_ctrl"}]
|
|
|
3
3
|
|
|
4
4
|
[project]
|
|
5
5
|
name = "prim-ctrl"
|
|
6
|
-
version = "0.8.
|
|
6
|
+
version = "0.8.8"
|
|
7
7
|
description = "Primitive Ctrl - Remote control of your phone's Primitive FTPd Android SFTP server and optionally Tailscale VPN."
|
|
8
8
|
license = "Apache-2.0"
|
|
9
9
|
authors = [
|
|
File without changes
|
|
File without changes
|
|
File without changes
|