fixed indentation in load_entry_point

This commit is contained in:
Ekaterina Tuzova
2016-02-25 16:03:01 +03:00
parent 586c75863e
commit 57c227a9d0
@@ -5,8 +5,8 @@ if __name__ == '__main__':
dist = os.environ.get("PYCHARM_EP_DIST")
name = os.environ.get("PYCHARM_EP_NAME")
if dist == "ipython" and name == "ipython":
from IPython import start_ipython
f = start_ipython
else:
f = load_entry_point(dist, "console_scripts", name)
from IPython import start_ipython
f = start_ipython
else:
f = load_entry_point(dist, "console_scripts", name)
sys.exit(f())