From a7cf31ab73518d5817f2f8e3f144ec3ba7e2b2fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Avil=C3=A9s?= Date: Mon, 27 Oct 2014 14:34:54 +0100 Subject: [PATCH] Wrong indentation --- importer/indico_importer/utils.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/importer/indico_importer/utils.py b/importer/indico_importer/utils.py index 33f352e..6732779 100644 --- a/importer/indico_importer/utils.py +++ b/importer/indico_importer/utils.py @@ -16,10 +16,10 @@ def parse_datetime(string): - split_datetime = string[0].split('T') - if len(split_datetime) > 1: - return {'date': string[0].split('T')[0], - 'time': string[0].split('T')[1]} - else: - return {'date': string[0].split('T')[0], - 'time': '00:00'} + split_datetime = string[0].split('T') + if len(split_datetime) > 1: + return {'date': string[0].split('T')[0], + 'time': string[0].split('T')[1]} + else: + return {'date': string[0].split('T')[0], + 'time': '00:00'}