Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Jrohy committed Nov 28, 2020
1 parent 134b471 commit 7b1c434
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion v2ray_util/config_modify/multiple.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 == "":
Expand Down
1 change: 0 additions & 1 deletion v2ray_util/config_modify/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 == "":
Expand Down

0 comments on commit 7b1c434

Please sign in to comment.