openmedialibrary_platform/Shared/lib/python3.7/site-packages/ox/utils.py

21 lines
392 B
Python
Raw Normal View History

2013-10-11 17:28:32 +00:00
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
try:
from django.utils import datetime
except:
2013-10-11 17:28:32 +00:00
from datetime import datetime
try:
import simplejson as json
except ImportError:
try:
import json
except ImportError:
from django.utils import simplejson as json
try:
import xml.etree.ElementTree as ET
except:
import elementtree.ElementTree as ET