Skip to content

Commit d6b842f

Browse files
committed
sent_to_all is deprecated, now use to_all
1 parent ebd1017 commit d6b842f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sc2reader/processors/todict.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def __getattr(object, name, default):
4343
p['messages'].append({
4444
'time': message.time.seconds,
4545
'text': message.text,
46-
'is_public': message.sent_to_all
46+
'is_public': message.to_all
4747
})
4848
players.append(p)
4949
data['players'] = players

0 commit comments

Comments
 (0)