MCPcopy Create free account
hub / github.com/Eyepea/API-Hour / chdir

Method chdir

api_hour/application.py:60–66  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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()

Callers 1

loadMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected