From adbd4fd23bf101d5bea0e77713388971cf63ab2a Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Wed, 27 Aug 2003 07:46:19 +0000 Subject: [PATCH] Guarded the sys.path.insert. --- src/fix.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fix.py b/src/fix.py index b04690a6a..15f53f466 100644 --- a/src/fix.py +++ b/src/fix.py @@ -38,7 +38,8 @@ Fixes stuff that Python should have but doesn't. import sys import string -sys.path.insert(0, 'others') +if 'others' not in sys.path: + sys.path.insert(0, 'others') string.ascii = string.maketrans('', '')