Skip to content

Commit

Permalink
Use f-string in another place (#3156)
Browse files Browse the repository at this point in the history
  • Loading branch information
xeare committed Apr 21, 2023
1 parent c32ce4d commit 9e12a52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkdocs/commands/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ def build(config: MkDocsConfig, live_server: bool = False, dirty: bool = False)
msg = ', '.join(f'{v} {k.lower()}s' for k, v in counts)
raise Abort(f'\nAborted with {msg} in strict mode!')

log.info('Documentation built in %.2f seconds', time.monotonic() - start)
log.info(f'Documentation built in {time.monotonic() - start:.2f} seconds')

except Exception as e:
# Run `build_error` plugin events.
Expand Down

0 comments on commit 9e12a52

Please sign in to comment.