mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-29 10:26:12 +01:00
Updated to f string
This commit is contained in:
parent
e6ef721b13
commit
16f3326d04
1 changed files with 2 additions and 2 deletions
|
@ -14,6 +14,6 @@ class LoggingConfig:
|
|||
encoding: str = 'utf-8'
|
||||
log_path: Path = Path('/tmp/slpkg/logs')
|
||||
log_file: Path = Path(log_path, 'slpkg.log')
|
||||
d: str = '%s/%s/%s' % (dt.day, dt.month, dt.year)
|
||||
t: str = '%s:%s:%s' % (dt.hour, dt.minute, dt.second)
|
||||
d: str = f'{dt.day}/{dt.month}/{dt.year}'
|
||||
t: str = f'{dt.hour}:{dt.minute}:{dt.second}'
|
||||
date: str = f'{d} {t}'
|
||||
|
|
Loading…
Reference in a new issue