Fixed missing import
For 2FA code to wrk it needs access to the `click` library
This commit is contained in:
parent
5924fadd85
commit
b231a5ce2b
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ If you have enabled two-factor authentication for the account you will have to d
|
|||
.. code-block:: python
|
||||
|
||||
if api.requires_2fa:
|
||||
import click
|
||||
print "Two-factor authentication required. Your trusted devices are:"
|
||||
|
||||
devices = api.trusted_devices
|
||||
|
|
Loading…
Reference in a new issue