forked from djib/PDMameUpdate
Check that remote link is correct
This commit is contained in:
@ -96,6 +96,10 @@ def filter_updatable_torrents():
|
|||||||
keys_to_check.issubset(data.keys())
|
keys_to_check.issubset(data.keys())
|
||||||
and
|
and
|
||||||
data['local-version'] < data['remote-version']
|
data['local-version'] < data['remote-version']
|
||||||
|
and
|
||||||
|
data['remote-link'].startswith(
|
||||||
|
'http://www.pleasuredome.org.uk/download.php'
|
||||||
|
)
|
||||||
):
|
):
|
||||||
del torrents[torrent]
|
del torrents[torrent]
|
||||||
logging.info(
|
logging.info(
|
||||||
|
Reference in New Issue
Block a user