Net-ng/kansha

View on GitHub
kansha/card_addons/weight/view.py

Summary

Maintainability
A
45 mins
Test Coverage

Avoid deeply nested control flow statements.
Open

                    for value in self.allowed_weights.split(','):
                        h << h.option(value, value=value.strip()).selected(self.weight())
            h << h.button(_('Save'), class_='btn btn-primary').action(answer, self, comp)
Severity: Major
Found in kansha/card_addons/weight/view.py - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status