提交 d22d8720 authored 作者: nouiz's avatar nouiz

Merge pull request #1103 from goodfeli/master

Fix import issue Olivier caught after my last PR was merged
......@@ -1082,6 +1082,7 @@ def var_descriptor(obj, _prev_obs=None, _tag_generator=None):
location dependent information such as the id of a node.
"""
global hashlib
if hashlib is None:
try:
import hashlib
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论