From f3295c0eec2fff858596c84a168108e7852de31f Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sat, 17 May 2014 18:30:15 +0200 Subject: [PATCH] dont fail if running outside of django env --- ox/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ox/utils.py b/ox/utils.py index 1a62cff..02647e9 100644 --- a/ox/utils.py +++ b/ox/utils.py @@ -3,7 +3,7 @@ try: from django.utils import datetime -except ImportError: +except: from datetime import datetime try: