Skip to content

Commit

Permalink
get DESTFN=NONE::TIME to work... I think. (#1323)
Browse files Browse the repository at this point in the history
  • Loading branch information
petersilva authored Dec 5, 2024
1 parent 04fcf27 commit 622b79f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sarracenia/flow/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ def sundew_getDestInfos(self, msg, currentFileOption, filename):
# extra trailing : removed if present
if destFileName[-1] == ':': destFileName = destFileName[:-1]
elif re.compile('SATNET=.*').match(spec):
satnet = ':' + spec
satnet += ':' + spec
elif re.compile('DESTFN=.*').match(spec):
destFileName = spec[7:]
elif re.compile('DESTFNSCRIPT=.*').match(spec):
Expand Down Expand Up @@ -788,7 +788,8 @@ def sundew_getDestInfos(self, msg, currentFileOption, filename):
# if file already had a time extension keep his...
if len(parts[-1]) == 14 and parts[-1][0] == '2':
timeSuffix = ':' + parts[-1]

elif spec == '':
satnet +=':'
else:
logger.error( f"invalid DESTFN parameter: {spec}" )
return None
Expand Down

0 comments on commit 622b79f

Please sign in to comment.