"git@developer.sourcefind.cn:OpenDAS/deepspeed.git" did not exist on "e549be607c0f85fc3eb91b3ce977f1d063d65f3c"
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): ...@@ -87,6 +87,8 @@ class DGLDataset(object):
if save_dir is None: if save_dir is None:
self._save_dir = self._raw_dir self._save_dir = self._raw_dir
else:
self._save_dir = save_dir
self._load() 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