aboutsummaryrefslogtreecommitdiffstats
path: root/misc/python/botan/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'misc/python/botan/__init__.py')
-rw-r--r--misc/python/botan/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/python/botan/__init__.py b/misc/python/botan/__init__.py
index d92e70fcb..02565099c 100644
--- a/misc/python/botan/__init__.py
+++ b/misc/python/botan/__init__.py
@@ -7,6 +7,8 @@ def Filter(name, key = None, iv = None, dir = None):
return make_filter(name, key, iv, dir)
elif key != None and dir != None:
return make_filter(name, key, dir)
+ elif key != None:
+ return make_filter(name, key)
else:
return make_filter(name)