Skip to content

Commit

Permalink
chg default path
Browse files Browse the repository at this point in the history
  • Loading branch information
genwchhotmail committed Feb 7, 2021
1 parent b3bafd0 commit 8d5ebac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .CURVER
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.4
0.0.5
2 changes: 1 addition & 1 deletion gwpd/pdtb.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ def get_first(self, filter={}, key=None, applyacl=None, allcols=False):

def __init__(self, model, path=None, owner=None, security=0):
self._lg = comm.logger(f"pdtb({model})")
path = "./model" if path == None else path
path = "./conf/data" if path == None else path
conffile = self._join_path(path, self.secpath[security], model+".json")
self._conf = self._load_conf(file=conffile)
self._name = self._conf.get("name")
Expand Down

0 comments on commit 8d5ebac

Please sign in to comment.