IRCLine's data should be bytes

This commit is contained in:
jesopo 2019-02-10 14:19:43 +00:00
parent 4772564115
commit eb00f331e5

View file

@ -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