mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 04:49:31 -07:00
Fix unnecessary not
This commit is contained in:
parent
87fa36eed2
commit
35298fc6d9
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ torrent_clients = {
|
||||||
|
|
||||||
|
|
||||||
def create_torrent_class(client_agent):
|
def create_torrent_class(client_agent):
|
||||||
if not nzb2media.APP_NAME == 'TorrentToMedia.py':
|
if nzb2media.APP_NAME != 'TorrentToMedia.py':
|
||||||
return # Skip loading Torrent for NZBs.
|
return # Skip loading Torrent for NZBs.
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
@ -53,7 +53,7 @@ def pause_torrent(client_agent, input_hash, input_id, input_name):
|
||||||
|
|
||||||
|
|
||||||
def resume_torrent(client_agent, input_hash, input_id, input_name):
|
def resume_torrent(client_agent, input_hash, input_id, input_name):
|
||||||
if not nzb2media.TORRENT_RESUME == 1:
|
if nzb2media.TORRENT_RESUME != 1:
|
||||||
return
|
return
|
||||||
log.debug(f'Starting torrent {input_name} in {client_agent}')
|
log.debug(f'Starting torrent {input_name} in {client_agent}')
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue