(self)
| 58 | # import ipdb; ipdb.set_trace() |
| 59 | |
| 60 | def chdir(self): |
| 61 | # chdir to the configured path before loading, |
| 62 | # default is the current dir |
| 63 | os.chdir(self.cfg.chdir) |
| 64 | |
| 65 | # add the path to sys.path |
| 66 | sys.path.insert(0, self.cfg.chdir) |
| 67 | |
| 68 | def load(self): |
| 69 | self.chdir() |