Skip to content

Commit

Permalink
Fix type check
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamJamieson committed Aug 21, 2023
1 parent 5e2f6af commit b5f057a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion romancal/associations/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def generate(pool, rules, version_id=None, finalize=True):
documentation for a full description.
"""
associations = []
if type(version_id) is bool:
if isinstance(version_id, bool):
version_id = make_timestamp()
process_queue = ProcessQueueSorted(
[ProcessList(items=pool, rules=[rule for _, rule in rules.items()])]
Expand Down

0 comments on commit b5f057a

Please sign in to comment.