From 1cfe0dcafcefd10706259ec36464abbef276184f Mon Sep 17 00:00:00 2001 From: "Code Hugger (Matthew Jones)" Date: Fri, 3 Jan 2025 16:46:16 -0500 Subject: [PATCH] find_missing_modules should import rather than append to prioritize local Fixes #675 --- scripts/find_missing_modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/find_missing_modules.py b/scripts/find_missing_modules.py index 37c205aa..72adc2c0 100644 --- a/scripts/find_missing_modules.py +++ b/scripts/find_missing_modules.py @@ -2,7 +2,7 @@ import os import sys -sys.path.append(os.path.join(sys.path[0], "..")) +sys.path.insert(0,(os.path.join(sys.path[0], ".."))) import canvasapi # noqa