Updated to f string

This commit is contained in:
Dimitris Zlatanidis 2023-04-27 23:18:21 +03:00
parent e6ef721b13
commit 16f3326d04

View file

@ -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}'