From 5bb0acb4d85e3b34ca8c5aa3ed95c6b46c186476 Mon Sep 17 00:00:00 2001 From: jrandiny Date: Wed, 11 Dec 2019 13:30:23 +0700 Subject: [PATCH] Fix invalid repo folder detection --- entrypoint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.py b/entrypoint.py index 252f00d..5998290 100644 --- a/entrypoint.py +++ b/entrypoint.py @@ -95,7 +95,7 @@ apt_dir = os.path.join(github_slug, apt_folder) apt_conf_dir = os.path.join(apt_dir, 'conf') - if not os.path.isdir(apt_folder): + if not os.path.isdir(apt_dir): logging.info('Existing repo not detected, creating new repo') os.mkdir(apt_dir) os.mkdir(apt_conf_dir)