remotepasseval

Josiah Schwab jschwab at gmail.com
Sun Aug 26 15:59:28 BST 2018


Hello,

>     import re
>     import subprocess as sb
>     def bashcmd(command):
>         p = re.compile(r' ')
>         sb.call(p.split(command))

Your function needs to return the password.  There is no return
statement here.  In python, functions return None implicitly, hence the
error.

Josiah



More information about the OfflineIMAP-project mailing list