diff options
-rwxr-xr-x | src/gpiorelayd.py | 2 | ||||
-rw-r--r-- | src/home/relay/__init__.py | 4 | ||||
-rw-r--r-- | src/home/relay/__init__.pyi | 4 | ||||
-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 | ||||
-rwxr-xr-x | src/pump_bot.py | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/src/gpiorelayd.py b/src/gpiorelayd.py index f39a86a..cd2941f 100755 --- a/src/gpiorelayd.py +++ b/src/gpiorelayd.py @@ -5,7 +5,7 @@ import sys from home.config import config from home.util import parse_addr -from home.relay.server import RelayServer +from home.relay.sunxi_h3_server import RelayServer logger = logging.getLogger(__name__) 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 diff --git a/src/pump_bot.py b/src/pump_bot.py index bf791d3..de925db 100755 --- a/src/pump_bot.py +++ b/src/pump_bot.py @@ -6,7 +6,7 @@ from telegram import ReplyKeyboardMarkup, User from home.config import config from home.telegram import bot from home.telegram._botutil import user_any_name -from home.relay import RelayClient +from home.relay.sunxi_h3_client import RelayClient from home.api.types import BotType config.load('pump_bot') |