Use os.path.realpath() before os.path.abspath()

Closes 
Fixes 
This commit is contained in:
ZyX 2014-02-16 01:25:10 +04:00
parent 1faf118fa3
commit 25212a7dd6

@ -7,8 +7,7 @@ import os
try:
from powerline.shell import ShellPowerline, get_argparser, finish_args
except ImportError:
import os
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(os.path.realpath(__file__)))))
from powerline.shell import ShellPowerline, get_argparser, finish_args # NOQA
if __name__ == '__main__':