Browse Source

Added more diagnostics

pull/14/head
Edward Donner 6 months ago
parent
commit
bdf23c6e24
  1. 2
      diagnostics.py
  2. 2
      week1/diagnostics.py

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

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

Loading…
Cancel
Save