Skip to content

Commit

Permalink
nit: use not instead of is False
Browse files Browse the repository at this point in the history
  • Loading branch information
aMahanna committed Jan 17, 2024
1 parent b19b1d7 commit 68ca714
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arango_datasets/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def __initialize_collection(
"""
print(f"Initializing collection '{collection_name}'")

if self.preserve_existing is False:
if not self.preserve_existing:
self.user_db.delete_collection(collection_name, ignore_missing=True)

return self.user_db.create_collection(collection_name, edge=is_edge)
Expand Down

0 comments on commit 68ca714

Please sign in to comment.