Skip to content

Commit

Permalink
Typehint fpath in log.configure
Browse files Browse the repository at this point in the history
Resolves #121
  • Loading branch information
asgerius committed Dec 24, 2022
1 parent d76abf9 commit bc3e790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pelutils/logging/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __init__(self):

def configure(
self,
fpath: str, *, # Path to logfile. Missing directories are created
fpath: Optional[str], *, # Path to logfile. Missing directories are created
default_seperator = "\n", # Default seperator when logging multiple strings in a single call
append = False, # Set to True to append to old log file instead of overwriting it
print_level = LogLevels.INFO, # Highest level that will be printed. All will be logged. None for no print
Expand Down

0 comments on commit bc3e790

Please sign in to comment.