From eb00f331e52a315883f543128fe86fb5f0f77fe8 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 10 Feb 2019 14:19:43 +0000 Subject: [PATCH] IRCLine's `data` should be bytes --- src/IRCLine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IRCLine.py b/src/IRCLine.py index eeb90f1a..71fc0512 100644 --- a/src/IRCLine.py +++ b/src/IRCLine.py @@ -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