aboutsummaryrefslogtreecommitdiffstats
path: root/vectors
diff options
context:
space:
mode:
Diffstat (limited to 'vectors')
-rw-r--r--vectors/cryptography_vectors/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/vectors/cryptography_vectors/__init__.py b/vectors/cryptography_vectors/__init__.py
index 34cf4421..abcfe14c 100644
--- a/vectors/cryptography_vectors/__init__.py
+++ b/vectors/cryptography_vectors/__init__.py
@@ -18,6 +18,6 @@ __all__ = [
]
-def open_vector_file(*args):
+def open_vector_file(filename, mode):
base = os.path.dirname(__file__)
- return open(os.path.join(base, *args), "r")
+ return open(os.path.join(base, filename), mode)