Skip to content

Commit

Permalink
Fix if statements.
Browse files Browse the repository at this point in the history
  • Loading branch information
YooSunYoung committed Jun 11, 2024
1 parent 627d774 commit 034e497
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/scicat_ingestor.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ def main() -> None:

# instantiate a new process and runs backeground ingestor
# on the nexus file
...

# check if we need to commit the individual message
if config.kafka_options.individual_message_commit:
elif config.kafka_options.individual_message_commit:
consumer.commit(message=message)

0 comments on commit 034e497

Please sign in to comment.