From 0d3dcd8a550bb7961d3a1469ed80b24bcf277466 Mon Sep 17 00:00:00 2001 From: Miguel Grinberg Date: Wed, 25 Jun 2014 23:51:39 -0700 Subject: [PATCH] correct fix for #8 --- flask_moment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flask_moment.py b/flask_moment.py index c050748..44468e1 100644 --- a/flask_moment.py +++ b/flask_moment.py @@ -6,9 +6,9 @@ class _moment(object): @staticmethod def include_moment(version = '2.5.1'): + js = '' if version is not None: js = '\n' % version - js = js or "" return Markup('''%s