Skip to content

Commit d65d2cc

Browse files
Eric YeAutomatedTester
authored andcommitted
Fix path join issue: log_path_name would be /server.log
1 parent 8dd054f commit d65d2cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

browsermobproxy/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def start(self, options=None):
104104
log_file = options.get('log_file', 'server.log')
105105
retry_sleep = options.get('retry_sleep', 0.5)
106106
retry_count = options.get('retry_count', 60)
107-
log_path_name = os.path.join(log_path, os.path.sep, log_file)
107+
log_path_name = os.path.join(log_path, log_file)
108108
self.log_file = open(log_path_name, 'w')
109109

110110
self.process = subprocess.Popen(self.command,

0 commit comments

Comments
 (0)