Correcting current dir

This commit is contained in:
2023-09-21 17:15:26 +02:00
parent c8e7674256
commit c3e4b04f20

View File

@@ -6,8 +6,7 @@ import config
DOCKER_COMPOSE_PATH = config.portainer_compose_dir + '/{}/docker-compose.yml' DOCKER_COMPOSE_PATH = config.portainer_compose_dir + '/{}/docker-compose.yml'
CURRENT_DIR = os.path.dirname(__file__) BASH_COMPANION_SCRIPT = os.getcwd() + '/docker_updater.sh'
BASH_COMPANION_SCRIPT = CURRENT_DIR + '/docker_updater.sh'
def update_stack(stack): def update_stack(stack):