mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-16 08:35:32 +01:00
Fix indenting
This commit is contained in:
@@ -691,10 +691,10 @@ def initialize():
|
||||
CONFIG_VERSION = '3'
|
||||
|
||||
if CONFIG_VERSION == '3':
|
||||
#Update the BLACKHOLE option to the NZB_DOWNLOADER format
|
||||
if BLACKHOLE:
|
||||
NZB_DOWNLOADER = 2
|
||||
CONFIG_VERSION = '4'
|
||||
#Update the BLACKHOLE option to the NZB_DOWNLOADER format
|
||||
if BLACKHOLE:
|
||||
NZB_DOWNLOADER = 2
|
||||
CONFIG_VERSION = '4'
|
||||
|
||||
# Enable Headphones Indexer if they have a VIP account
|
||||
if CONFIG_VERSION == '4':
|
||||
|
||||
@@ -897,8 +897,8 @@ def searchTorrent(album, new=False, losslessOnly=False, albumlength=None):
|
||||
|
||||
if headphones.KAT:
|
||||
provider = "Kick Ass Torrents"
|
||||
|
||||
if headphones.KAT_PROXY_URL:
|
||||
|
||||
if headphones.KAT_PROXY_URL:
|
||||
#Might need to clean up the user submitted url
|
||||
kat_proxy = headphones.KAT_PROXY_URL
|
||||
|
||||
@@ -911,7 +911,7 @@ def searchTorrent(album, new=False, losslessOnly=False, albumlength=None):
|
||||
|
||||
else:
|
||||
providerurl = url_fix("http://kickass.to/usearch/" + term)
|
||||
|
||||
|
||||
if headphones.PREFERRED_QUALITY == 3 or losslessOnly:
|
||||
categories = "7" #music
|
||||
format = "2" #flac
|
||||
|
||||
@@ -1007,7 +1007,7 @@ class WebInterface(object):
|
||||
"download_torrent_dir" : headphones.DOWNLOAD_TORRENT_DIR,
|
||||
"numberofseeders" : headphones.NUMBEROFSEEDERS,
|
||||
"use_kat" : checked(headphones.KAT),
|
||||
"kat_proxy_url" : headphones.KAT_PROXY_URL,
|
||||
"kat_proxy_url" : headphones.KAT_PROXY_URL,
|
||||
"use_piratebay" : checked(headphones.PIRATEBAY),
|
||||
"piratebay_proxy_url" : headphones.PIRATEBAY_PROXY_URL,
|
||||
"use_mininova" : checked(headphones.MININOVA),
|
||||
@@ -1225,7 +1225,7 @@ class WebInterface(object):
|
||||
headphones.NUMBEROFSEEDERS = numberofseeders
|
||||
headphones.DOWNLOAD_TORRENT_DIR = download_torrent_dir
|
||||
headphones.KAT = use_kat
|
||||
headphones.KAT_PROXY_URL = kat_proxy_url
|
||||
headphones.KAT_PROXY_URL = kat_proxy_url
|
||||
headphones.PIRATEBAY = use_piratebay
|
||||
headphones.PIRATEBAY_PROXY_URL = piratebay_proxy_url
|
||||
headphones.MININOVA = use_mininova
|
||||
|
||||
Reference in New Issue
Block a user