mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2024-12-21 20:28:52 +00:00
Python: Correct Importing example
Without this fix, we get a TypeError: TypeError: Must be mapping, not set
This commit is contained in:
parent
8580f9e961
commit
7f01cc6786
@ -57,7 +57,7 @@ from gi.repository import Secret
|
||||
|
||||
# ... and a here's sample line of code which uses the import
|
||||
schema = Secret.Schema.new("org.mock.Schema",
|
||||
Secret.SchemaFlags.NONE, { "name", Secret.SchemaAttributeType.STRING })
|
||||
Secret.SchemaFlags.NONE, { "name": Secret.SchemaAttributeType.STRING })
|
||||
```
|
||||
|
||||
## Vala: Compiling with libsecret
|
||||
|
Loading…
Reference in New Issue
Block a user