From 0d3fb8be9381cf51f205b399db083646ff203c1b Mon Sep 17 00:00:00 2001 From: Sebastian Wehling-Benatelli Date: Wed, 24 Jun 2015 14:31:43 +0200 Subject: [PATCH] [bugfix] false indentation corrected (broken program logic fixed) --- pylot/core/util/utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pylot/core/util/utils.py b/pylot/core/util/utils.py index 0c8a863e..3f2ba611 100644 --- a/pylot/core/util/utils.py +++ b/pylot/core/util/utils.py @@ -93,9 +93,9 @@ def getGlobalTimes(stream): for trace in stream: if trace.stats.starttime < min_start: min_start = trace.stats.starttime - if max_end is None or trace.stats.endtime > max_end: - max_end = trace.stats.endtime - return [min_start, max_end] + if max_end is None or trace.stats.endtime > max_end: + max_end = trace.stats.endtime + return min_start, max_end def createCreationInfo(agency_id=None, creation_time=None, author=None):