From d6cf5c47ddf1d6baaf1cf1ec661de70c6da27639 Mon Sep 17 00:00:00 2001 From: chenhuajian Date: Fri, 27 Nov 2020 11:04:31 +0800 Subject: [PATCH] fix bug --- v2ray_util/config_modify/multiple.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v2ray_util/config_modify/multiple.py b/v2ray_util/config_modify/multiple.py index df9ea102..83b59034 100644 --- a/v2ray_util/config_modify/multiple.py +++ b/v2ray_util/config_modify/multiple.py @@ -1,6 +1,5 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -from .stream import StreamModifier from ..util_core.v2ray import restart from ..util_core.loader import Loader from ..util_core.writer import NodeWriter @@ -37,7 +36,8 @@ def new_port(new_stream=None): reload_data = Loader() new_group_list = reload_data.profile.group_list - StreamModifier.modify(new_group_list[-1], new_stream) + from .stream import modify + modify(new_group_list[-1], new_stream) return True @restart()