Make short_name case insensitive

Make short_name case insensitive and added config.ini to gitignore, added example_config.ini, and updated README
This commit is contained in:
TC² 2024-07-04 11:42:29 -04:00
parent ab9449ad0b
commit 8bf833daa9
6 changed files with 47 additions and 6 deletions

View file

@ -273,7 +273,7 @@ def handle_mail_steps(sender_id, message, step, state, interface, bbs_nodes):
update_user_state(sender_id, None)
elif step == 3:
short_name = message
short_name = message.lower()
nodes = get_node_info(interface, short_name)
if not nodes:
send_message("I'm unable to find that node in my database.", sender_id, interface)