commit c9aa9f068e603562d939493e3be1da18a2ce2c4e
parent dbe17744c011c340a56371b49a0fe7724953bb81
Author: chris-belcher <chris-belcher@users.noreply.github.com>
Date: Tue, 2 Oct 2018 00:59:34 +0100
Remove f-strings feature of python 3.6
F-strings are a new feature in python 3.6. If used they would force
an update to that python version. Everyone should always have the
latest version but its good to avoid imposing an update on users.
It would be bad to end up in a situation where users postpone updates
because they expect everything to break every time they update.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/electrumpersonalserver/server/common.py b/electrumpersonalserver/server/common.py
@@ -536,7 +536,7 @@ def main():
logfilemode='a' if opts.appendlog else 'w')
logger.setLevel(opts.loglevel)
logger.info('Starting Electrum Personal Server')
- logger.info(f'Logging to {opts.log}')
+ logger.info('Logging to ' + opts.log)
try:
config = ConfigParser()
config.read(opts.conf)
@@ -644,7 +644,7 @@ def rescan():
logfilemode='a' if opts.appendlog else 'w')
logger.setLevel(opts.loglevel)
logger.info('Starting Electrum Personal Server in rescan mode')
- logger.info(f'Logging to {opts.log}')
+ logger.info('Logging to ' + opts.log)
try:
config = ConfigParser()
config.read(opts.conf)