mirror of
https://github.com/basicswap/basicswap.git
synced 2025-01-10 12:44:33 +00:00
Print python version.
This commit is contained in:
parent
2a2f1ca3b6
commit
9a1b7db2dc
2 changed files with 5 additions and 2 deletions
|
@ -664,9 +664,11 @@ class BasicSwap(BaseApp):
|
||||||
self.coin_clients[coin]['interface'] = self.createPassthroughInterface(coin)
|
self.coin_clients[coin]['interface'] = self.createPassthroughInterface(coin)
|
||||||
|
|
||||||
def start(self):
|
def start(self):
|
||||||
|
import platform
|
||||||
self.log.info('Starting BasicSwap %s, database v%d\n\n', __version__, self.db_version)
|
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(f'Python version: {platform.python_version()}')
|
||||||
self.log.info('timezone offset: %d (%s)', time.timezone, time.tzname[0])
|
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)
|
upgradeDatabase(self, self.db_version)
|
||||||
upgradeDatabaseData(self, self.db_data_version)
|
upgradeDatabaseData(self, self.db_data_version)
|
||||||
|
|
|
@ -1430,6 +1430,7 @@ def main():
|
||||||
bin_dir = os.path.join(data_dir, 'bin')
|
bin_dir = os.path.join(data_dir, 'bin')
|
||||||
|
|
||||||
logger.info(f'BasicSwap prepare script {__version__}\n')
|
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'Data dir: {data_dir}')
|
||||||
logger.info(f'Bin dir: {bin_dir}')
|
logger.info(f'Bin dir: {bin_dir}')
|
||||||
logger.info(f'Chain: {chain}')
|
logger.info(f'Chain: {chain}')
|
||||||
|
|
Loading…
Reference in a new issue