add a regexp on gazelle parameter 'protocol'
This commit is contained in:
parent
39f5deb7db
commit
6936a6fe63
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ class GazelleBackend(BaseBackend, ICapTorrent):
|
||||||
|
|
||||||
CONFIG = {'username': BaseBackend.ConfigField(description='Username on website'),
|
CONFIG = {'username': BaseBackend.ConfigField(description='Username on website'),
|
||||||
'password': BaseBackend.ConfigField(description='Password of account', is_masked=True),
|
'password': BaseBackend.ConfigField(description='Password of account', is_masked=True),
|
||||||
'protocol': BaseBackend.ConfigField(description='Protocol to use ("http" or "https")'),
|
'protocol': BaseBackend.ConfigField(description='Protocol to use ("http" or "https")', regexp='^(http|https)$'),
|
||||||
'domain': BaseBackend.ConfigField(description='Domain (example "ssl.what.cd")'),
|
'domain': BaseBackend.ConfigField(description='Domain (example "ssl.what.cd")'),
|
||||||
}
|
}
|
||||||
BROWSER = GazelleBrowser
|
BROWSER = GazelleBrowser
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue