got __file__ removed from Python 3.4?

This commit is contained in:
Mathias Panzenböck
2014-12-04 19:39:36 +01:00
parent 355ca944bf
commit 56c90763ff
+1 -1
View File
@@ -15,6 +15,6 @@ else:
# use wrapper script for starting python processes
# the wrapper will defer execution to blender, if it was used to start a new kernel
sys.executable = pathjoin(dirname(abspath(__file__)), 'blender_ipython_wrapper.py')
sys.executable = pathjoin(dirname(abspath(sys.argv[0])), 'blender_ipython_wrapper.py')
launch_new_instance()