We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8574b7 commit abc0422Copy full SHA for abc0422
irclogger/main.py
@@ -27,7 +27,8 @@
27
from circuits.app import Daemon
28
29
from circuits.io import File
30
-from circuits.io.events import close, open, write
+from circuits.io.file import _open
31
+from circuits.io.events import close, write
32
33
from circuits.net.events import connect
34
from circuits.net.sockets import TCPClient
@@ -134,7 +135,7 @@ def rotate(self):
134
135
channel = path.basename(channel_dir)
136
logfile = generate_logfile(channel)
137
self.fire(close(), self.channel)
- self.fire(open(path.join(output_dir, logfile), "a"), self.channel)
138
+ self.fire(_open(path.join(output_dir, logfile), "a"), self.channel)
139
140
interval = datetime.fromordinal((
141
date.today() + timedelta(1)
0 commit comments