Skip to content

Commit

Permalink
完善提示
Browse files Browse the repository at this point in the history
  • Loading branch information
Jrohy committed Jun 15, 2018
1 parent b09b66c commit d39b77b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions user_manage/del_port.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
schoice = input("是否删除y/n:")
if schoice == 'y':
write_json.del_port(schoice)
print("删除端口成功!")
else:
print("撤销删除")
else:
Expand Down
3 changes: 2 additions & 1 deletion user_manage/del_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
print(mul_user_conf[choice - 1])
schoice = input("是否删除y/n:")
if schoice == 'y':
write_json.del_user(choice)
write_json.del_user(choice - 1)
print("删除用户成功!")
else:
print("撤销删除")
else:
Expand Down

0 comments on commit d39b77b

Please sign in to comment.