Fix references to config.getboolean()
.
This commit is contained in:
parent
078e2c5471
commit
a7bcf71642
|
@ -210,7 +210,7 @@ class ProductsGrid(SearchableAlchemyGridView):
|
||||||
g.delete_route_name = 'product.delete'
|
g.delete_route_name = 'product.delete'
|
||||||
|
|
||||||
# Maybe add Print Label column.
|
# Maybe add Print Label column.
|
||||||
if self.request.rattail_config.getboolean('tailbone', 'products.print_labels', default=True):
|
if self.rattail_config.getbool('tailbone', 'products.print_labels', default=True):
|
||||||
q = Session.query(LabelProfile)
|
q = Session.query(LabelProfile)
|
||||||
if q.count():
|
if q.count():
|
||||||
def labels(row):
|
def labels(row):
|
||||||
|
|
Loading…
Reference in a new issue