Skip to content

Commit

Permalink
Update config.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Qirky committed Dec 18, 2018
1 parent ef44d2d commit 95902bf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@

# Check for location of Python

exec_path = os.path.abspath(os.path.dirname(sys.executable))
this_path = os.path.abspath(os.path.dirname("."))

if exec_path == this_path:
if sys.argv[0] == sys.executable: # If this is compiled file, just use python

PYTHON_EXECUTABLE = "python"

Expand Down

0 comments on commit 95902bf

Please sign in to comment.