Skip to content

Commit

Permalink
Merge pull request #10 from Katuva/master
Browse files Browse the repository at this point in the history
Added fix for sha3 problems in Python 3.4
  • Loading branch information
maxtaco committed Apr 24, 2015
2 parents 33db180 + 0c80378 commit af3b9da
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion triplesec/utils.py
Expand Up @@ -14,7 +14,10 @@
import sys
from six.moves import zip
from collections import namedtuple
if sys.version_info < (3, 4):
if sys.version_info > (3, 2):
if 'sha3_512' not in hashlib.algorithms_available:
import sha3
else:
import sha3


Expand Down

0 comments on commit af3b9da

Please sign in to comment.