|
@ -686,9 +686,9 @@ if __name__ == '__main__': |
|
|
|
|
|
|
|
|
except Exception as e: |
|
|
except Exception as e: |
|
|
print("probably i was not there in last page, original error is:", 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' |
|
|
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': |
|
|
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.." |
|
|
answer = "I am updating the specified room based on the data in fdb-spider/spiders/output.." |
|
|