From fbc67695a599dfa60757338e742fa39940580d89 Mon Sep 17 00:00:00 2001 From: Guido Serra Date: Mon, 9 Sep 2019 11:47:36 +0200 Subject: [PATCH] a proper signature, else we get the error Alex reported --- wicd/logfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wicd/logfile.py b/wicd/logfile.py index 93e87d0..ac41ecc 100644 --- a/wicd/logfile.py +++ b/wicd/logfile.py @@ -29,7 +29,7 @@ class SizeError(IOError): """ Custom error class. """ pass -class LogFile(file): +class LogFile(name, mode="r", maxsize=-1): """LogFile(name, [mode="w"], [maxsize=360000]) Opens a new file object. After writing bytes a SizeError