|
@@ -91,7 +91,7 @@ def convert(infile):
|
91
|
91
|
chname = parts[1]
|
92
|
92
|
category = parts[2]
|
93
|
93
|
if category == 'private:topic:text':
|
94
|
|
- out['channels'][chname]['topic'] = parts[3]
|
|
94
|
+ out['channels'][chname]['topic'] = line.split(maxsplit=3)[3]
|
95
|
95
|
elif category == 'private:topic:setter':
|
96
|
96
|
out['channels'][chname]['topicSetBy'] = parts[3]
|
97
|
97
|
elif category == 'private:topic:ts':
|
|
@@ -115,7 +115,7 @@ def convert(infile):
|
115
|
115
|
try:
|
116
|
116
|
group_founder = groups_to_user[username]
|
117
|
117
|
print(f"WARNING: flattening GroupServ group founder {username} on {chname} to first group founder {group_founder}")
|
118
|
|
- except KeyError as e:
|
|
118
|
+ except KeyError:
|
119
|
119
|
raise ValueError(f"Got channel {chname} owned by group {username} that has no founder?")
|
120
|
120
|
else:
|
121
|
121
|
username = group_founder
|