Skip to content

Commit

Permalink
chore(style): Use set for set inclusion condition
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Sep 27, 2024
1 parent abdd251 commit 69a2afb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/exporter/gdocs.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(self, main_template_id: str):
ZipFile(self.output_file, "w") as zipwrite,
):
for item in zipread.infolist():
if item.filename not in ("content.xml"):
if item.filename != "content.xml":
data = zipread.read(item.filename)
zipwrite.writestr(item, data)

Expand Down

0 comments on commit 69a2afb

Please sign in to comment.