small bugfix in Logger.close()

This commit is contained in:
randomuser 2021-07-20 03:02:47 -05:00
parent d35296ef16
commit 4585792396
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ class Logger:
self.close()
raise SystemExit
def close(self):
self.fd.close()
if self.fd: self.fd.close()
class GopherServerLogic:
def recieveRequest(self):