From 2140749a4b141927a45599f0f74d4e81c179dee1 Mon Sep 17 00:00:00 2001 From: lvmin Date: Fri, 11 Aug 2023 09:17:31 -0700 Subject: [PATCH] i --- entry_with_update.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/entry_with_update.py b/entry_with_update.py index 31890eac..2b65bcfb 100644 --- a/entry_with_update.py +++ b/entry_with_update.py @@ -1,7 +1,10 @@ -try: +import os +import sys +sys.path.append(os.path.dirname(os.path.abspath(__file__))) + +try: import pygit2 - import os repo = pygit2.Repository(os.path.abspath(os.path.dirname(__file__)))