From 078e2c5471d2d8c7d5063450f22febc60bb15368 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Mon, 17 Aug 2015 12:39:26 -0500 Subject: [PATCH] Tweak label formatter instantiation, per rattail changes. --- tailbone/views/labels.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tailbone/views/labels.py b/tailbone/views/labels.py index 8af850fa..7296d338 100644 --- a/tailbone/views/labels.py +++ b/tailbone/views/labels.py @@ -87,7 +87,7 @@ class ProfilesView(MasterView): def after_edit(self, profile): if not profile.format: - formatter = profile.get_formatter() + formatter = profile.get_formatter(self.rattail_config) if formatter: try: profile.format = formatter.default_format