pull/997/head
Louis Vézina 5 years ago
parent 23229e205b
commit f159124ca8

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

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

@ -59,18 +59,6 @@
</div> </div>
</div> </div>
<br> <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>
<div class="row"> <div class="row">

Loading…
Cancel
Save