From 72e44747a1e3e01a4a72d74a22d799ff6ff39873 Mon Sep 17 00:00:00 2001 From: Pratik Vyas Date: Wed, 18 Sep 2013 00:38:26 +0530 Subject: [PATCH] append to sys.path on the front --- wnf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wnf.py b/wnf.py index 770e12cd7d..23c80c1923 100755 --- a/wnf.py +++ b/wnf.py @@ -296,9 +296,9 @@ def setup_options(): return parser.parse_args() def run(): - sys.path.append('.') - sys.path.append('lib') - sys.path.append('app') + sys.path.insert(0, '.') + sys.path.insert(0, 'lib') + sys.path.insert(0, 'app') (options, args) = setup_options()