Skip to content

Commit

Permalink
Remove logging if logic mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
leorudczenko committed Aug 18, 2023
1 parent 6464c84 commit ef9ab95
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tactool/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,11 +564,8 @@ def add_analysis_point(
_label_text_item=label_text_item,
)
self.table_model.add_point(analysis_point)

if self.logger.level == logging.DEBUG:
self.logger.debug("Created Analysis Point: %s", analysis_point)
else:
self.logger.info("Creating Analysis Point with ID: %s", analysis_point.id)
self.logger.debug("Created Analysis Point: %s", analysis_point)
self.logger.info("Creating Analysis Point with ID: %s", analysis_point.id)

# Update the status bar messages and PyQt Table View
self.toggle_status_bar_messages()
Expand Down

0 comments on commit ef9ab95

Please sign in to comment.