Skip to content

Commit d54a68a

Browse files
change condition order.
1 parent dc668a2 commit d54a68a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tabpy/tabpy_tools/custom_query_object.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def query(self, *args, **kwargs):
7171

7272
def get_doc_string(self):
7373
"""Get doc string from customized query"""
74-
if self.custom_query.__doc__ is not None and sys.platform != "win32":
74+
if sys.platform != "win32" and self.custom_query.__doc__ is not None:
7575
return self.custom_query.__doc__
7676
else:
7777
return "-- no docstring found in query function --"

0 commit comments

Comments
 (0)