Print python version.

2024-05-20_merge
tecnovert 1 year ago
parent 2a2f1ca3b6
commit 9a1b7db2dc
No known key found for this signature in database
GPG Key ID: 8ED6D8750C4E3F93
  1. 6
      basicswap/basicswap.py
  2. 1
      bin/basicswap_prepare.py

@ -664,9 +664,11 @@ class BasicSwap(BaseApp):
self.coin_clients[coin]['interface'] = self.createPassthroughInterface(coin)
def start(self):
import platform
self.log.info('Starting BasicSwap %s, database v%d\n\n', __version__, self.db_version)
self.log.info('sqlalchemy version %s', sa.__version__)
self.log.info('timezone offset: %d (%s)', time.timezone, time.tzname[0])
self.log.info(f'Python version: {platform.python_version()}')
self.log.info('SQLAlchemy version: %s', sa.__version__)
self.log.info('Timezone offset: %d (%s)', time.timezone, time.tzname[0])
upgradeDatabase(self, self.db_version)
upgradeDatabaseData(self, self.db_data_version)

@ -1430,6 +1430,7 @@ def main():
bin_dir = os.path.join(data_dir, 'bin')
logger.info(f'BasicSwap prepare script {__version__}\n')
logger.info(f'Python version: {platform.python_version()}')
logger.info(f'Data dir: {data_dir}')
logger.info(f'Bin dir: {bin_dir}')
logger.info(f'Chain: {chain}')

Loading…
Cancel
Save