Skip to content

Commit

Permalink
Update strings to f-strings
Browse files Browse the repository at this point in the history
  • Loading branch information
hroff-1902 committed Feb 20, 2020
1 parent bca5f80 commit 56a06cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions freqtrade/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def __init__(self, args: Dict[str, Any], config: Dict[str, Any] = None) -> None:
"""
Init all variables and objects the bot needs to work
"""
logger.info('Starting worker %s', __version__)
logger.info(f"Starting worker {__version__}")

self._args = args
self._config = config
Expand Down Expand Up @@ -77,7 +77,7 @@ def _worker(self, old_state: Optional[State], throttle_secs: Optional[float] = N
if state != old_state:
self.freqtrade.notify_status(f'{state.name.lower()}')

logger.info('Changing state to: %s', state.name)
logger.info(f"Changing state to: {state.name}")
if state == State.RUNNING:
self.freqtrade.startup()

Expand Down

0 comments on commit 56a06cb

Please sign in to comment.