Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

Commit 1491b61

Browse files
committed
Kelp GUI: allow bots to be deleted when in Initializing state closes #383
1 parent df4cb9e commit 1491b61

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gui/backend/delete_bot.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func (s *APIServer) deleteBot(w http.ResponseWriter, r *http.Request) {
4040
}
4141
log.Printf("deleteBot for loop, current botState: %s\n", botState)
4242

43-
if botState == kelpos.BotStateStopped {
43+
if botState == kelpos.BotStateStopped || botState == kelpos.BotStateInitializing {
4444
break
4545
}
4646

0 commit comments

Comments
 (0)