Merge pull request #320 from facetoe/docs
Update PlaintextKeyring example with new import location.
This commit is contained in:
commit
9e6528032b
@ -146,7 +146,8 @@ If you don't want to use the default you can set a specific keyring like so:
|
|||||||
|
|
||||||
.. code:: python
|
.. code:: python
|
||||||
|
|
||||||
from keyring.backends.file import PlaintextKeyring
|
# Requires the keyrings.alt package
|
||||||
|
from keyrings.alt.file import PlaintextKeyring
|
||||||
status.register('github', keyring_backend=PlaintextKeyring())
|
status.register('github', keyring_backend=PlaintextKeyring())
|
||||||
|
|
||||||
i3pystatus will locate and set the credentials during the module
|
i3pystatus will locate and set the credentials during the module
|
||||||
|
Loading…
Reference in New Issue
Block a user