Skip to content

Commit

Permalink
change condition order.
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeichikawasalesforce committed Nov 21, 2024
1 parent dc668a2 commit d54a68a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tabpy/tabpy_tools/custom_query_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def query(self, *args, **kwargs):

def get_doc_string(self):
"""Get doc string from customized query"""
if self.custom_query.__doc__ is not None and sys.platform != "win32":
if sys.platform != "win32" and self.custom_query.__doc__ is not None:
return self.custom_query.__doc__
else:
return "-- no docstring found in query function --"
Expand Down

0 comments on commit d54a68a

Please sign in to comment.