Skip to content

Commit de406e1

Browse files
authored
fix purge-room confirmation prompt breaking
1 parent 3cb9e24 commit de406e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/dendritecli/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def purge_room(http: api.HTTPAPIManager, skip_checks: bool, have_evacuated: bool
206206
if not have_evacuated:
207207
if not Confirm.ask("Have you already evacuated the room (dendrite-cli evacuate room)?"):
208208
if Confirm.ask("Would you like to?"):
209-
if not room(room_id):
209+
if not room([room_id]):
210210
return
211211
else:
212212
console.print("[yellow]Aborting.")

0 commit comments

Comments
 (0)