From b6a00c3e14114755f4c92dc9eb603e3ff621bf45 Mon Sep 17 00:00:00 2001 From: 4ft35t <4ft35t@gmail.com> Date: Thu, 26 May 2016 23:52:22 +0800 Subject: [PATCH] fix path error --- you-get | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/you-get b/you-get index 85f3f754..8529388f 100755 --- a/you-get +++ b/you-get @@ -1,7 +1,7 @@ #!/usr/bin/env python3 import os, sys -_srcdir = 'src/' +_srcdir = '%s/src/' % os.path.dirname(os.path.realpath(__file__)) _filepath = os.path.dirname(sys.argv[0]) sys.path.insert(1, os.path.join(_filepath, _srcdir))