|
|
@ -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: |
|
|
|