From ec9840839ef5e6f4d666db6d3bd519f9767da75f Mon Sep 17 00:00:00 2001 From: Sebastian Wehling-Benatelli Date: Wed, 8 Jul 2015 14:58:42 +0200 Subject: [PATCH] preserve the occurrence of the authority id in the filenames for write support of event information --- pylot/core/util/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylot/core/util/utils.py b/pylot/core/util/utils.py index 7b409351..9fddb15b 100644 --- a/pylot/core/util/utils.py +++ b/pylot/core/util/utils.py @@ -36,7 +36,7 @@ def runProgram(cmd, parameter=None): def fnConstructor(s): if type(s) is str: - s = s.split('/')[-1] + s = s.split(':')[-1] else: s = getHash(UTCDateTime())