whitespace, variable renames

This commit is contained in:
The MMGen Project 2025-10-12 10:01:47 +00:00
commit de833d75af
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2
2 changed files with 14 additions and 6 deletions

View file

@ -192,8 +192,10 @@ class DataSource:
@property
def api_url(self):
return (
f'https://{self.api_host}/v1/tickers/btc-bitcoin' if cfg.btc_only else
f'https://{self.api_host}/v1/tickers?limit={self.asset_limit}' if self.asset_limit else
f'https://{self.api_host}/v1/tickers/btc-bitcoin'
if cfg.btc_only else
f'https://{self.api_host}/v1/tickers?limit={self.asset_limit}'
if self.asset_limit else
f'https://{self.api_host}/v1/tickers')
@property