Skip to content

Commit 2af8c47

Browse files
committed
Revert unrelatd fixes from commit 68dada5:
The reformat in get_torrent_properties and the line-wrap in get_protected_and_private are correct fixes but bundle unrelated cleanups into the diff. Could be a separate PR.
1 parent 59c7451 commit 2af8c47

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

src/settings/_download_clients_qbit.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -395,14 +395,15 @@ async def get_qbit_items(self, hashes: list[str] | str | None = None) -> list[di
395395
async def get_torrent_properties(self, qbit_hash):
396396
params = {"hash": qbit_hash.lower()}
397397
response = await make_request(
398-
"get",
399-
self.api_url + "/torrents/properties",
400-
self.settings,
401-
params=params,
402-
cookies=self.cookie,
403-
)
398+
"get",
399+
self.api_url + "/torrents/properties",
400+
self.settings,
401+
params=params,
402+
cookies=self.cookie,
403+
)
404404
return response.json()
405405

406+
406407
async def get_torrent_files(self, download_id):
407408
# this may not work if the wrong qbit
408409
logger.debug("_download_clients_qBit/get_torrent_files: Getting torrent files")

0 commit comments

Comments
 (0)