From bcace852ad3d0a33c495f710484cf0234cee24b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juraj=20Virgovi=C4=8D?= Date: Sun, 31 Dec 2023 16:00:17 +0000 Subject: [PATCH] chore: remove redundant __import__ (#177) --- graphenex/core/utils/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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():