Merge pull request #95 from felciano/patch-1

Add missing import in 2FA documentation
This commit is contained in:
Tor Arne Vestbø 2016-10-09 22:35:36 +02:00 committed by GitHub
commit 254e6a7b44

View file

@ -45,6 +45,7 @@ If you have enabled two-factor authentication for the account you will have to d
.. code-block:: python .. code-block:: python
if api.requires_2fa: if api.requires_2fa:
import click
print "Two-factor authentication required. Your trusted devices are:" print "Two-factor authentication required. Your trusted devices are:"
devices = api.trusted_devices devices = api.trusted_devices