This commit is contained in:
Louis Vézina 2020-05-20 19:29:11 -04:00
parent 23229e205b
commit f159124ca8
3 changed files with 1 additions and 15 deletions

View File

@ -107,8 +107,7 @@ defaults = {
},
'addic7ed': {
'username': '',
'password': '',
'random_agents': 'True'
'password': ''
},
'legendasdivx': {
'username': '',

View File

@ -114,7 +114,6 @@ def get_providers_auth():
providers_auth = {
'addic7ed': {'username': settings.addic7ed.username,
'password': settings.addic7ed.password,
'use_random_agents': settings.addic7ed.getboolean('random_agents'),
},
'opensubtitles': {'username': settings.opensubtitles.username,
'password': settings.opensubtitles.password,

View File

@ -59,18 +59,6 @@
</div>
</div>
<br>
<div class="row">
<div class="col-sm-4 text-right">
<b>Random User-Agents</b>
</div>
<div class="form-group col-sm-1">
<label class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="settings-addic7ed-random_agents" name="settings-addic7ed-random_agents">
<span class="custom-control-label"></span>
</label>
</div>
</div>
<br>
</div>
<div class="row">