#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 e5dd476490
commit e23a0fc4c7
Signed by: Benjamin_Loison
SSH Key Fingerprint: SHA256:BtnEgYTlHdOg1u+RmYcDE0mnfz1rhv5dSbQ2gyxW8B8

View File

@ -14,6 +14,7 @@ with open('nohup.out') as f:
#print(line)
threadId = line.split(': ')[1]
channelId = line.split(infix)[1].split(' (')[0]
if threadId.isdigit() and channelId.startswith('UC') and len(channelId) == 24:
threads[threadId] = channelId
for threadId in threads:
channelId = threads[threadId]