IRCLine's data
should be bytes
This commit is contained in:
parent
4772564115
commit
eb00f331e5
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ import datetime, typing
|
|||
from src import IRCObject
|
||||
|
||||
class Line(IRCObject.Object):
|
||||
def __init__(self, send_time: datetime.datetime, data: str):
|
||||
def __init__(self, send_time: datetime.datetime, data: bytes):
|
||||
self.send_time = send_time
|
||||
self.data = data
|
||||
|
||||
|
|
Loading…
Reference in a new issue