Skip to content

Commit

Permalink
chore: remove redundant __import__ (grapheneX#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
jxdv authored Dec 31, 2023
1 parent e8b30a1 commit bcace85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphenex/core/utils/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def check_os():
[1] -> Windows
[0] -> Linux (else)
"""
return 1 if __import__('os').name == 'nt' else 0
return 1 if os.name == 'nt' else 0


def check_privileges():
Expand Down

0 comments on commit bcace85

Please sign in to comment.