Skip to content

Commit

Permalink
Linting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
palewire committed Dec 30, 2023
1 parent de5aeb1 commit 23e66c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postgres_copy/managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def to_csv(self, csv_path=None, *fields, **kwargs):
force_quote = kwargs.get("force_quote")
if force_quote:
# If it's a list of fields, pass them in with commas
if type(force_quote) == list:
if isinstance(force_quote, list):
query.copy_to_force_quote = "FORCE QUOTE {}".format(
", ".join(column for column in force_quote)
)
Expand Down

0 comments on commit 23e66c7

Please sign in to comment.