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()