summaryrefslogtreecommitdiff
path: root/src/home/relay
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-12-18 05:35:54 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-12-18 05:35:54 +0300
commit5f34b77581355ed2e0f03a6eb7607e4c6d508e7e (patch)
treeaab9c635d8a5336fb732bdd3f3237fe6d21392f5 /src/home/relay
parent9c5da6f50b850596cca867c1cca0dae17750dc1c (diff)
pump_bot: rename modules, make it clear it works locally on sunxi h3 board
Diffstat (limited to 'src/home/relay')
-rw-r--r--src/home/relay/__init__.py4
-rw-r--r--src/home/relay/__init__.pyi4
-rw-r--r--src/home/relay/sunxi_h3_client.py (renamed from src/home/relay/client.py)0
-rw-r--r--src/home/relay/sunxi_h3_server.py (renamed from src/home/relay/server.py)0
4 files changed, 4 insertions, 4 deletions
diff --git a/src/home/relay/__init__.py b/src/home/relay/__init__.py
index f1568be..406403d 100644
--- a/src/home/relay/__init__.py
+++ b/src/home/relay/__init__.py
@@ -5,8 +5,8 @@ __all__ = ['RelayClient', 'RelayServer']
def __getattr__(name):
_map = {
- 'RelayClient': '.client',
- 'RelayServer': '.server'
+ 'RelayClient': '.sunxi_h3_client',
+ 'RelayServer': '.sunxi_h3_server'
}
if name in __all__:
diff --git a/src/home/relay/__init__.pyi b/src/home/relay/__init__.pyi
index 94341f6..7a4a2f4 100644
--- a/src/home/relay/__init__.pyi
+++ b/src/home/relay/__init__.pyi
@@ -1,2 +1,2 @@
-from .client import RelayClient as RelayClient
-from .server import RelayServer as RelayServer
+from .sunxi_h3_client import RelayClient as RelayClient
+from .sunxi_h3_server import RelayServer as RelayServer
diff --git a/src/home/relay/client.py b/src/home/relay/sunxi_h3_client.py
index 8c8d6c4..8c8d6c4 100644
--- a/src/home/relay/client.py
+++ b/src/home/relay/sunxi_h3_client.py
diff --git a/src/home/relay/server.py b/src/home/relay/sunxi_h3_server.py
index 1f33969..1f33969 100644
--- a/src/home/relay/server.py
+++ b/src/home/relay/sunxi_h3_server.py