#48: Modify removeChannelsBeingTreated.py to temporarily solve the issue

This commit is contained in:
Benjamin Loison 2023-02-19 02:04:28 +01:00
parent 78b2bf18fa
commit e86d629597

View File

@ -14,7 +14,8 @@ with open('nohup.out') as f:
#print(line) #print(line)
threadId = line.split(': ')[1] threadId = line.split(': ')[1]
channelId = line.split(infix)[1].split(' (')[0] 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: for threadId in threads:
channelId = threads[threadId] channelId = threads[threadId]
print(threadId, channelId) print(threadId, channelId)