From ef433cd2d9967aca978809d5ac12f1018cce26f6 Mon Sep 17 00:00:00 2001 From: Edward Donner Date: Tue, 19 Nov 2024 19:11:37 -0500 Subject: [PATCH] Added more diagnostics --- diagnostics.py | 2 +- week1/diagnostics.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/diagnostics.py b/diagnostics.py index d1d43f4..716e544 100644 --- a/diagnostics.py +++ b/diagnostics.py @@ -385,7 +385,7 @@ class Diagnostics: return any(os.path.commonpath([path, sp]) == sp for sp in site_packages_paths) # Check for potential name conflicts in the current directory and sys.path - conflict_names = ['openai.py'] + conflict_names = ['openai.py', 'dotenv.py'] # Check current directory current_dir = os.getcwd() diff --git a/week1/diagnostics.py b/week1/diagnostics.py index d1d43f4..716e544 100644 --- a/week1/diagnostics.py +++ b/week1/diagnostics.py @@ -385,7 +385,7 @@ class Diagnostics: return any(os.path.commonpath([path, sp]) == sp for sp in site_packages_paths) # Check for potential name conflicts in the current directory and sys.path - conflict_names = ['openai.py'] + conflict_names = ['openai.py', 'dotenv.py'] # Check current directory current_dir = os.getcwd()