Commit 9ceb44ff authored by Simon Will's avatar Simon Will
Browse files

Fix two errors in meters.py

parent 3d6a967b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ class Meter:
    def collect_condition_features(self, reading: Reading):
        features = []
        for cond in self.conditions:
            feature = condition(reading)
            feature = cond(reading)
            if feature:
                features.append(feature)
        return features
@@ -90,7 +90,7 @@ ALL_METERS = {
        'Iambic Trimeter',
        r'(⏑|⏑⏑|–)(⏑⏑|–)(⏑)(⏑⏑|–)(⏑|⏑⏑|–)(⏑⏑|–)(⏑)(⏑⏑|–)(⏑|⏑⏑|–)(⏑⏑|–)(⏑)(⏑|–)',
        breaks=[
            [('element', 4, 'After fourth element')]
            [('element', 4, 'After fourth element')],
            [('element', 8, 'After eighth element')]
        ],
        short_name='3ia',