Skip to content

Commit 574c994

Browse files
authored
fix the object parameter of hasattr (#324)
Fixes #323
1 parent d725a65 commit 574c994

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

instana/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def load(_):
5454
environment variable.
5555
"""
5656
# Work around https://bugs.python.org/issue32573
57-
if not hasattr("sys", "argv"):
57+
if not hasattr(sys, "argv"):
5858
sys.argv = ['']
5959
return None
6060

0 commit comments

Comments
 (0)