Skip to content

Commit

Permalink
2023/09/12-11:03:05 (Linux sv2111 unknown)
Browse files Browse the repository at this point in the history
  • Loading branch information
pbenner committed Sep 12, 2023
1 parent 5e88fbd commit cf98f27
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions coordinationnet/model_lit.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@ def cache_path(self):
return None

if self.default_root_dir is not None:

if not os.path.exists(self.default_root_dir):
os.makedirs(self.default_root_dir)

return os.path.join(self.default_root_dir, self.load_cached_data)

return self.load_cached_data
Expand Down

0 comments on commit cf98f27

Please sign in to comment.