mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 18:38:09 +01:00
ci: Fix cache key.
This commit is contained in:
@@ -1515,17 +1515,17 @@ def modify_tor_config(
|
||||
|
||||
|
||||
def printVersion(with_coins):
|
||||
logger.info(f"Basicswap version: {__version__}")
|
||||
print(f"Basicswap version: {__version__}")
|
||||
|
||||
if len(with_coins) < 1:
|
||||
return
|
||||
logger.info("Core versions:")
|
||||
print("Core versions:")
|
||||
with_coins_changed: bool = False if len(with_coins) == 1 and "particl" in with_coins else True
|
||||
for coin, version in known_coins.items():
|
||||
if with_coins_changed and coin not in with_coins:
|
||||
continue
|
||||
postfix = " (Disabled)" if coin in disabled_coins else ""
|
||||
logger.info("\t%s: %s%s%s", coin.capitalize(), version[0], version[1], postfix)
|
||||
print("\t{}: {}{}{}".format(coin.capitalize(), version[0], version[1], postfix))
|
||||
|
||||
|
||||
def printHelp():
|
||||
|
||||
Reference in New Issue
Block a user