diff --git a/rattail_cognitive/labels.py b/rattail_cognitive/labels.py index 230cb94..87170f8 100644 --- a/rattail_cognitive/labels.py +++ b/rattail_cognitive/labels.py @@ -1,9 +1,8 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- +# -*- coding: utf-8 -*- ################################################################################ # # Rattail -- Retail Software Framework -# Copyright © 2010-2012 Lance Edgar +# Copyright © 2010-2015 Lance Edgar # # This file is part of Rattail. # @@ -21,14 +20,13 @@ # along with Rattail. If not, see . # ################################################################################ - """ Label Printing """ -from cStringIO import StringIO +from __future__ import unicode_literals -import edbob +from cStringIO import StringIO from rattail import labels @@ -55,7 +53,7 @@ class BlasterFormatter(labels.CommandFormatter): ] def label_footer_commands(self): - noindex = edbob.config.getboolean( + noindex = self.config.getbool( 'rattail.hw.cognitive', 'blaster.hack_noindex', default=False) if noindex: return [