Content-Length: 290829 | pFad | https://github.com/All-Hands-AI/OpenHands/commit/4f9d008e13b86d7339488b961087cf870659ab04

12 fix: apply pre-commit formatting · All-Hands-AI/OpenHands@4f9d008 · GitHub
Skip to content

Commit 4f9d008

Browse files
author
liwei136
committed
fix: apply pre-commit formatting
1 parent 2781ff2 commit 4f9d008

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

openhands/core/logger.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -290,11 +290,11 @@ def get_console_handler(log_level: int = logging.INFO) -> logging.StreamHandler:
290290

291291

292292
def get_file_handler(
293-
log_dir: str,
294-
log_level: int = logging.INFO,
295-
when: str = 'd',
296-
backup_count: int = 7,
297-
utc: bool = False,
293+
log_dir: str,
294+
log_level: int = logging.INFO,
295+
when: str = 'd',
296+
backup_count: int = 7,
297+
utc: bool = False,
298298
) -> TimedRotatingFileHandler:
299299
"""Returns a file handler for logging."""
300300
os.makedirs(log_dir, exist_ok=True)
@@ -303,7 +303,7 @@ def get_file_handler(
303303
os.path.join(log_dir, file_name),
304304
when=when,
305305
backupCount=backup_count,
306-
utc=utc
306+
utc=utc,
307307
)
308308
file_handler.setLevel(log_level)
309309
if LOG_JSON:

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/All-Hands-AI/OpenHands/commit/4f9d008e13b86d7339488b961087cf870659ab04

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy