def auto_discover(self, path=None, folder=None):
    caller_folder = os.path.dirname(inspect.stack()[1][1])
    if path:
        caller_folder = os.path.join(caller_folder, path)
    if folder:
        self.add_path(os.path.join(caller_folder, folder))
    else:
        self.discover_folder(caller_folder)
def auto_discover(self, path=None, folder=None):
    caller_folder = os.path.dirname(inspect.stack()[1][1])
    if path:
        caller_folder = os.path.join(caller_folder, path)
    if folder:
        self.add_path(os.path.join(caller_folder, folder))
    else:
        self.discover_folder(caller_folder)