Skip to content

Commit

Permalink
Minor enhancement for #87
Browse files Browse the repository at this point in the history
  • Loading branch information
ratoaq2 committed Jun 22, 2024
1 parent 5735188 commit b10cf08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion knowit/rules/audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def execute(self, props, pv_props, context):
c = Decimal('0.0')
for i in position.split('/'):
try:
c += Decimal(i)
c += Decimal(i.replace('.?', ''))
except (ValueError, InvalidOperation):
logger.debug('Invalid %s: %s', self.description, i)
pass
Expand Down

0 comments on commit b10cf08

Please sign in to comment.