summaryrefslogtreecommitdiffstats
path: root/Lib/site.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/site.py')
-rw-r--r--Lib/site.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/site.py b/Lib/site.py
index 1d3183a..47a46f6 100644
--- a/Lib/site.py
+++ b/Lib/site.py
@@ -167,7 +167,7 @@ def addsitedir(sitedir, known_paths=None):
return
names.sort()
for name in names:
- if name.endswith(os.extsep + "pth"):
+ if name.endswith(".pth"):
addpackage(sitedir, name, known_paths)
if reset:
known_paths = None