We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc668a2 commit d54a68aCopy full SHA for d54a68a
tabpy/tabpy_tools/custom_query_object.py
@@ -71,7 +71,7 @@ def query(self, *args, **kwargs):
71
72
def get_doc_string(self):
73
"""Get doc string from customized query"""
74
- if self.custom_query.__doc__ is not None and sys.platform != "win32":
+ if sys.platform != "win32" and self.custom_query.__doc__ is not None:
75
return self.custom_query.__doc__
76
else:
77
return "-- no docstring found in query function --"
0 commit comments