mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2024-12-22 04:38:55 +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
|
# ... and a here's sample line of code which uses the import
|
||||||
schema = Secret.Schema.new("org.mock.Schema",
|
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
|
## Vala: Compiling with libsecret
|
||||||
|
Loading…
Reference in New Issue
Block a user