Skip to content

Commit 4736bd2

Browse files
committed
using get_platform() function instead of sys.platform
1 parent e874a9a commit 4736bd2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/install_solc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,4 +359,4 @@ def install_solc(platform, identifier):
359359
print("Invocation error. Should be invoked as `./install_solc.py <version>`")
360360
sys.exit(1)
361361

362-
install_solc(sys.platform, identifier)
362+
install_solc(get_platform(), identifier)

solc/install.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ def install_from_source(identifier):
431431

432432
def install_solc(identifier, platform=None):
433433
if platform is None:
434-
platform = sys.platform
434+
platform = get_platform()
435435

436436
if platform not in INSTALL_FUNCTIONS:
437437
raise ValueError(

0 commit comments

Comments
 (0)