Show More
@@ -206,8 +206,11 b' which already exists. But you must first start the logging process with' | |||||
206 | made, possibly (though not necessarily) with a new filename, mode and |
|
206 | made, possibly (though not necessarily) with a new filename, mode and | |
207 | other options.""" |
|
207 | other options.""" | |
208 |
|
208 | |||
209 |
self.logfile |
|
209 | if self.logfile is not None: | |
210 |
self.logfile |
|
210 | self.logfile.close() | |
|
211 | self.logfile = None | |||
|
212 | else: | |||
|
213 | print "Logging hadn't been started." | |||
211 | self.log_active = False |
|
214 | self.log_active = False | |
212 |
|
215 | |||
213 | # For backwards compatibility, in case anyone was using this. |
|
216 | # For backwards compatibility, in case anyone was using this. |
General Comments 0
You need to be logged in to leave comments.
Login now