bugfix for command syntax change of updaterooms all
This commit is contained in:
parent
a59978ec5b
commit
0cc5177c8a
2 changed files with 4 additions and 4 deletions
|
@ -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 @@
|
|||
updaterooms 65afd8b77954218b501634f2§%§%uBPGeQtsNmy3wvSga
|
||||
updaterooms§%§%8dABdxJm2j9WQomKu
|
Loading…
Reference in a new issue