From e86d629597a4a48f4cb6b91bc3de358b1ef89066 Mon Sep 17 00:00:00 2001 From: Benjamin Loison Date: Sun, 19 Feb 2023 02:04:28 +0100 Subject: [PATCH] #48: Modify `removeChannelsBeingTreated.py` to temporarily solve the issue --- removeChannelsBeingTreated.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/removeChannelsBeingTreated.py b/removeChannelsBeingTreated.py index c80a196..911109d 100755 --- a/removeChannelsBeingTreated.py +++ b/removeChannelsBeingTreated.py @@ -14,7 +14,8 @@ with open('nohup.out') as f: #print(line) threadId = line.split(': ')[1] channelId = line.split(infix)[1].split(' (')[0] - threads[threadId] = channelId + if threadId.isdigit() and channelId.startswith('UC') and len(channelId) == 24: + threads[threadId] = channelId for threadId in threads: channelId = threads[threadId] print(threadId, channelId)