added name functionality to delete rooms
This commit is contained in:
parent
324c760110
commit
d9a73e153a
3 changed files with 8 additions and 5 deletions
|
@ -433,9 +433,9 @@ if __name__ == '__main__':
|
|||
To update all rooms use
|
||||
command : `updaterooms all`
|
||||
-----------------------------------------------------------------------------------------
|
||||
To update one room use the room_id from the output of printrooms:
|
||||
command : `updaterooms <room-id>`
|
||||
example : `updaterooms 6572012bebb39dd248d08320`
|
||||
To update one room use the name of the room from the output of printrooms:
|
||||
command : `updaterooms <room-name>`
|
||||
example : `updaterooms test42`
|
||||
-----------------------------------------------------------------------------------------
|
||||
To create a room use following command, but be sure to **not have spaces** in your lists,
|
||||
as a space indicates a new command argument:
|
||||
|
@ -730,7 +730,9 @@ if __name__ == '__main__':
|
|||
|
||||
if user_input_list[0] == 'deleteroom':
|
||||
try:
|
||||
room_id_del = user_input_list[1]
|
||||
room_name_del = user_input_list[1]
|
||||
room_id_del = name2id(room_name_del)
|
||||
#room_id_del = user_input_list[1]
|
||||
except Exception as e:
|
||||
room_id_del = 'NONE'
|
||||
print(e)
|
||||
|
|
|
@ -1 +1 @@
|
|||
printtags test42§%§%DXbmwicNHnmruZpKw
|
||||
printcommands§%§%ZqWKDLrEKM3vKgdSy
|
|
@ -11,3 +11,4 @@
|
|||
<https://ausschreibungen.giz.de/Satellite/public/company/project/CXTRYY6Y1EQWGUKJ/de/overview?90|81301134 - Provide recommendations for Donor Interventions to support Green Industrial Policies and Just Transition Implications>
|
||||
<https://ausschreibungen.giz.de/Satellite/public/company/project/CXTRYY6Y1CV0XTS6/de/overview?97|81296882-Unterstützungsleistungen für das SV Klima>
|
||||
<https://ausschreibungen.giz.de/Satellite/public/company/project/CXTRYY6Y1C82BB4U/de/overview?99|81294786-Development of Sustainable Energy and Climate Action Plans for selected Local Self-Government Units in Western Balkans>
|
||||
<https://ausschreibungen.giz.de/Satellite/public/company/project/CXTRYYRY1929CTM8/de/overview?50|Smart Water Meters for Libanon>
|
||||
|
|
Loading…
Reference in a new issue