mirror of
https://github.com/powerline/powerline.git
synced 2025-07-03 03:55:03 +02:00
Merge branch 'realpath' into develop
This commit is contained in:
commit
2f400e90b3
@ -7,8 +7,7 @@ import os
|
|||||||
try:
|
try:
|
||||||
from powerline.shell import ShellPowerline, get_argparser, finish_args
|
from powerline.shell import ShellPowerline, get_argparser, finish_args
|
||||||
except ImportError:
|
except ImportError:
|
||||||
import os
|
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(os.path.realpath(__file__)))))
|
||||||
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
|
||||||
from powerline.shell import ShellPowerline, get_argparser, finish_args # NOQA
|
from powerline.shell import ShellPowerline, get_argparser, finish_args # NOQA
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user