Browse Source

bugfix for command syntax change of updaterooms all

master
alpcentaur 10 months ago
parent
commit
0cc5177c8a
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

@ -686,9 +686,9 @@ if __name__ == '__main__':
except Exception as e:
print("probably i was not there in last page, original error is:", e)
if room_to_update == 'NONE':
answer = 'No room was specified, all rooms will get an update based on the data available'
if room_was_found == False and room_to_update != 'NONE':
if room_to_update == 'all':
answer = 'I am updating all rooms based on the data in fdb-spider/spiders/output..'
if room_was_found == False or room_to_update == 'NONE':
answer = 'The room you specified does not exist, or there are no rooms configured, try the command without argument -> updaterooms'
if room_was_found == True and room_to_update != 'NONE':
answer = "I am updating the specified room based on the data in fdb-spider/spiders/output.."

+ 1
- 1
new_message_file.txt View File

@ -1 +1 @@
updaterooms 65afd8b77954218b501634f2§%§%uBPGeQtsNmy3wvSga
updaterooms§%§%8dABdxJm2j9WQomKu

Loading…
Cancel
Save