diff --git a/imghash/__init__.py b/imghash/__init__.py
index <HASH>..<HASH> 100644
--- a/imghash/__init__.py
+++ b/imghash/__init__.py
@@ -36,7 +36,7 @@ def get_hash(path):
 def main():
     import sys
     for path in sys.argv[1:]:
-        print get_hash(path).hexdigest(), path
+        print(get_hash(path).hexdigest(), path)
 
 if __name__ == '__main__':
     main()
porting to python3