mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 13:23:18 -07:00
Complete re-code of linking in TorrentToMedia
This commit is contained in:
parent
06c2dae5ce
commit
6a0158d801
14 changed files with 291 additions and 208 deletions
|
@ -2,7 +2,7 @@ import os
|
|||
import time
|
||||
import nzbtomedia
|
||||
from lib import requests
|
||||
from nzbtomedia.nzbToMediaUtil import convert_to_ascii
|
||||
from nzbtomedia.nzbToMediaUtil import convert_to_ascii, joinPath
|
||||
from nzbtomedia import logger
|
||||
|
||||
class autoProcessComics:
|
||||
|
@ -39,7 +39,7 @@ class autoProcessComics:
|
|||
params = {}
|
||||
params['nzb_folder'] = dirName
|
||||
if remote_path:
|
||||
dirName_new = os.path.join(remote_path, os.path.basename(dirName)).replace("\\", "/")
|
||||
dirName_new = joinPath(remote_path, os.path.basename(dirName)).replace("\\", "/")
|
||||
params['nzb_folder'] = dirName_new
|
||||
|
||||
if nzbName != None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue