diff --git a/graphenex/core/utils/helpers.py b/graphenex/core/utils/helpers.py index 9c0a851..2b21cc9 100644 --- a/graphenex/core/utils/helpers.py +++ b/graphenex/core/utils/helpers.py @@ -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():