summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multihash/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/multihash/__init__.py b/multihash/__init__.py
index d31920f..cbfa2d5 100644
--- a/multihash/__init__.py
+++ b/multihash/__init__.py
@@ -17,7 +17,7 @@ class Multihash:
self.update = h.update
self.first = h
-def hash_file(name, *algorithms):
+def hash_file(name, algorithms):
f = open(name)
h = Multihash(*algorithms)
_hash_file(f.fileno(), h.first)