diff --git a/fdb_spider_interface.py b/fdb_spider_interface.py index 0d91e3b..be79526 100644 --- a/fdb_spider_interface.py +++ b/fdb_spider_interface.py @@ -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.." diff --git a/new_message_file.txt b/new_message_file.txt index 5b52fb8..04f7af0 100644 --- a/new_message_file.txt +++ b/new_message_file.txt @@ -1 +1 @@ -updaterooms 65afd8b77954218b501634f2§%§%uBPGeQtsNmy3wvSga \ No newline at end of file +updaterooms§%§%8dABdxJm2j9WQomKu \ No newline at end of file