Skip to content

Commit

Permalink
remove redundant __import__
Browse files Browse the repository at this point in the history
  • Loading branch information
jxdv committed Dec 31, 2023
1 parent e8b30a1 commit dc6085b
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 dc6085b

Please sign in to comment.