From 5f91dcb572d31cc5edc0b0a7095668e79500b464 Mon Sep 17 00:00:00 2001 From: JoshYuJump Date: Thu, 12 May 2022 23:03:28 +0800 Subject: [PATCH] Fixed import issues --- cli/__init__.py | 2 +- cli/templates/utils.jinja2 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/__init__.py b/cli/__init__.py index cfb007c..da04cc3 100644 --- a/cli/__init__.py +++ b/cli/__init__.py @@ -1 +1 @@ -__version__ = '2.1.5' +__version__ = '2.1.6' diff --git a/cli/templates/utils.jinja2 b/cli/templates/utils.jinja2 index 10df93b..7416e53 100644 --- a/cli/templates/utils.jinja2 +++ b/cli/templates/utils.jinja2 @@ -16,13 +16,13 @@ from ._config import GRPC_ADDRESS # `GRPC_ADDRESS` is Generic gRPC channel target # `GRPC_ADDRESS_EXTENDS` is gRPC channel target specified by service abbreviation try: - from .._config import GRPC_ADDRESS_EXTENDS + from ._config import GRPC_ADDRESS_EXTENDS except ImportError: GRPC_ADDRESS_EXTENDS = {} # gRPC connect channel options try: - from .._config import GRPC_CHANNEL_OPTIONS as channel_options + from ._config import GRPC_CHANNEL_OPTIONS as channel_options except ImportError: channel_options = None