From 7b1c434fce511918588afce941e22b6bae96b472 Mon Sep 17 00:00:00 2001 From: Jrohy Date: Sat, 28 Nov 2020 14:08:02 +0800 Subject: [PATCH] fix bug --- v2ray_util/config_modify/multiple.py | 1 - v2ray_util/config_modify/stream.py | 1 - 2 files changed, 2 deletions(-) diff --git a/v2ray_util/config_modify/multiple.py b/v2ray_util/config_modify/multiple.py index 2599e4ca..a71b86b2 100644 --- a/v2ray_util/config_modify/multiple.py +++ b/v2ray_util/config_modify/multiple.py @@ -80,7 +80,6 @@ def new_user(): info = {'email': email} if type(group.node_list[0]) == Trojan: random_pass = ''.join(random.sample(string.digits + string.ascii_letters, 8)) - password = input(_("random : ")) tip = _("create random trojan user password:") + ColorStr.cyan(random_pass) + _(", enter to use or input new password: ") password = input(tip) if password == "": diff --git a/v2ray_util/config_modify/stream.py b/v2ray_util/config_modify/stream.py index 01fdc5b2..0e2c07b5 100644 --- a/v2ray_util/config_modify/stream.py +++ b/v2ray_util/config_modify/stream.py @@ -90,7 +90,6 @@ def select(self, sType): gw.write_port(443) sw = StreamWriter(self.group_tag, self.group_index, sType) random_pass = ''.join(random.sample(string.digits + string.ascii_letters, 8)) - password = input(_("random : ")) tip = _("create random trojan user password:") + ColorStr.cyan(random_pass) + _(", enter to use or input new password: ") password = input(tip) if password == "":