From 4d9b0b552ee7ac140381d86ba3ee8303d52661cd Mon Sep 17 00:00:00 2001 From: braunfuss Date: Sun, 2 Aug 2020 12:03:21 +0200 Subject: [PATCH] dataselect scedc hotfix --- src/client/fdsn.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/client/fdsn.py b/src/client/fdsn.py index a7a6c50b..09faf0e4 100644 --- a/src/client/fdsn.py +++ b/src/client/fdsn.py @@ -308,12 +308,12 @@ def dataselect(url=g_url, site=g_default_site, majorversion=1, selection=None, if selection: lst = [] + if site is not "scedc": + if 'minimumlength' not in params: + params['minimumlength'] = 0.0 - if 'minimumlength' not in params: - params['minimumlength'] = 0.0 - - if 'longestonly' not in params: - params['longestonly'] = 'FALSE' + if 'longestonly' not in params: + params['longestonly'] = 'FALSE' for k, v in params.items(): lst.append('%s=%s' % (k, v))