Update main.py
This commit is contained in:
parent
b29a3c20a5
commit
ac7dc7aef6
|
@ -46,7 +46,7 @@ def main():
|
|||
|
||||
class RequestHandler(BaseHTTPRequestHandler):
|
||||
def add_access_log_entry(self, user, ip_address, access, server):
|
||||
log_file_path = args.log_path
|
||||
log_file_path = Path(args.log_path)
|
||||
|
||||
if not log_file_path.exists():
|
||||
with open(log_file_path, mode='w', newline='') as csvfile:
|
||||
|
|
Loading…
Reference in New Issue