From 0d54332e24666c094abc62c17253ce627a4794d2 Mon Sep 17 00:00:00 2001 From: Manoj Pandey Date: Wed, 16 Jun 2021 09:41:14 +0200 Subject: [PATCH] fix the object parameter of hasattr --- instana/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instana/__init__.py b/instana/__init__.py index 29a3387b..ffa09ec6 100644 --- a/instana/__init__.py +++ b/instana/__init__.py @@ -54,7 +54,7 @@ def load(_): environment variable. """ # Work around https://bugs.python.org/issue32573 - if not hasattr("sys", "argv"): + if not hasattr(sys, "argv"): sys.argv = [''] return None