Browse Source

room_name variable in updaterooms was already in use, specified the var to have name check for doubles working

master
alpcentaur 9 months ago
parent
commit
4f1981cf3b
2 changed files with 4 additions and 4 deletions
  1. +3
    -3
      fdb_spider_interface.py
  2. +1
    -1
      new_message_file.txt

+ 3
- 3
fdb_spider_interface.py View File

@ -747,11 +747,11 @@ if __name__ == '__main__':
if user_input_list[0] == 'createroom':
try:
room_name_from_input = user_input_list[1]
room_id = name2id(room_name_from_input)
if room_id == 'NONE':
room_id_check = name2id(room_name_from_input)
if room_id_check == 'NONE':
room_name = user_input_list[1]
else:
if len(room_id) > 8:
if len(room_id_check) > 8:
room_name = 'NONE'
except Exception as e:

+ 1
- 1
new_message_file.txt View File

@ -1 +1 @@
printrooms§%§%eoj3hTktBCRcBbrt8
createroom test42 ['giz','fdb2'] ['oi','open_source','cool'] 7§%§%RHAiN4X4uQ373tD3B

Loading…
Cancel
Save