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

_______________________________________________
OfflineIMAP-project mailing list: OfflineIMAP-project@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepages:
- https://github.com/OfflineIMAP
- http://offlineimap.org

Reply via email to