First draft of libsecret support (fixed formatting).
This commit is contained in:
parent
58ab35d1cb
commit
a2cfa80198
@ -50,13 +50,7 @@ from .YoutubeDL import YoutubeDL
|
|||||||
|
|
||||||
|
|
||||||
def _real_main(argv=None):
|
def _real_main(argv=None):
|
||||||
LIBSECRET_SCHEMA = Secret.Schema.new("io.github.rg3.youtube-dl.Store",
|
LIBSECRET_SCHEMA = Secret.Schema.new("io.github.rg3.youtube-dl.Store", Secret.SchemaFlags.DONT_MATCH_NAME, {"user-name": Secret.SchemaAttributeType.STRING, "domain-name": Secret.SchemaAttributeType.STRING})
|
||||||
Secret.SchemaFlags.DONT_MATCH_NAME,
|
|
||||||
{
|
|
||||||
"user-name": Secret.SchemaAttributeType.STRING,
|
|
||||||
"domain-name": Secret.SchemaAttributeType.STRING
|
|
||||||
}
|
|
||||||
)
|
|
||||||
|
|
||||||
# Compatibility fixes for Windows
|
# Compatibility fixes for Windows
|
||||||
if sys.platform == 'win32':
|
if sys.platform == 'win32':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user