"git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "c2717317f03b12535cfd02b477ace61189e10e4b"
Unverified Commit 8bbc84e0 authored by Sami Issaadi's avatar Sami Issaadi Committed by GitHub
Browse files

[bugfix] Fix crash due to unfound attribute (#2262)

An unexpected `AttributeError` exception is launched whenever the user defines `save_dir` on `DGLDataset` instantiation and uses `self._save_dir`  within `has_cache` method.
This commit fixes the issue.
parent 1cb210c8
......@@ -87,6 +87,8 @@ class DGLDataset(object):
if save_dir is None:
self._save_dir = self._raw_dir
else:
self._save_dir = save_dir
self._load()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment