Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Jrohy committed Nov 27, 2020
1 parent 04d2984 commit d6cf5c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions v2ray_util/config_modify/multiple.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit d6cf5c4

Please sign in to comment.