totpcgi: ignore deprecation warnings

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
Patrick Uiterwijk 2019-05-23 22:46:57 +02:00
parent 6f37b16639
commit 919e6c71c2

View file

@ -1,4 +1,4 @@
#!/usr/bin/python -tt #!/usr/bin/python -tt -W ignore::DeprecationWarning
## ##
# Copyright (C) 2012 by Konstantin Ryabitsev and contributors # Copyright (C) 2012 by Konstantin Ryabitsev and contributors
# #
@ -24,9 +24,6 @@ import cgi
import logging import logging
import urllib2 import urllib2
import cgitb
cgitb.enable()
import totpcgi import totpcgi
import totpcgi.backends import totpcgi.backends