Show More
@@ -660,7 +660,7 static int sha1hash(char hash[20], const | |||||
660 | if (name == NULL) |
|
660 | if (name == NULL) | |
661 | return -1; |
|
661 | return -1; | |
662 |
|
662 | |||
663 |
hashlib = PyImport_Import( |
|
663 | hashlib = PyImport_ImportModule("hashlib"); | |
664 | Py_DECREF(name); |
|
664 | Py_DECREF(name); | |
665 |
|
665 | |||
666 | if (hashlib == NULL) { |
|
666 | if (hashlib == NULL) { |
General Comments 0
You need to be logged in to leave comments.
Login now