From 7083d8cbbcbbe15e86462a8d9687daef655b5003 Mon Sep 17 00:00:00 2001 From: et0h Date: Sun, 12 Dec 2021 12:58:34 +0000 Subject: [PATCH] Fix room not deleting bug (#434) --- syncplay/server.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/syncplay/server.py b/syncplay/server.py index 3cfc9af0a..149be1284 100755 --- a/syncplay/server.py +++ b/syncplay/server.py @@ -465,8 +465,7 @@ def removeWatcher(self, watcher): oldRoom = watcher.getRoom() if oldRoom: oldRoom.removeWatcher(watcher) - if self._roomsDbFile is None: - self._deleteRoomIfEmpty(oldRoom) + self._deleteRoomIfEmpty(oldRoom) def _getRoom(self, roomName): if roomName in self._rooms: