Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
start for ethereum#40 (still untested)
  • Loading branch information
step21 authored Jan 28, 2018
1 parent 19f5877 commit d48b3b2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion solc/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,13 @@ def solc_wrapper(solc_binary=None,
standard_json=None,
success_return_code=0):
if solc_binary is None:
solc_binary = get_solc_binary_path()
try:
solc.utils.filesystem.is_executable_available(solc_binary)
except FileNotFoundError:
print("The solc compiler binary could not be found.")
else:
solc_binary = get_solc_binary_path()


command = [solc_binary]

Expand Down

0 comments on commit d48b3b2

Please sign in to comment.