mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 22:03:13 -07:00
Add SickBeard.url
property
This commit is contained in:
parent
0225d3597c
commit
f75560c0b6
1 changed files with 4 additions and 0 deletions
|
@ -346,6 +346,10 @@ class SickBeard:
|
|||
if client_agent == core.TORRENT_CLIENT_AGENT and core.USE_LINK == 'move-sym':
|
||||
self.process_method = 'symlink'
|
||||
|
||||
@property
|
||||
def url(self):
|
||||
return self._create_url()
|
||||
|
||||
def _create_url(self) -> str:
|
||||
if self.sb_init.apikey:
|
||||
route = f'{self.sb_init.web_root}/api/{self.sb_init.apikey}/'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue