Skip to content

Commit

Permalink
update patch
Browse files Browse the repository at this point in the history
  • Loading branch information
jkotan committed Dec 18, 2023
1 parent ee9d774 commit 05d953a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sardananxsrecorder/nxsrecorder.py
Original file line number Diff line number Diff line change
Expand Up @@ -1195,9 +1195,9 @@ def __appendSciCatDataset(self, hostname=None):
if isinstance(variables, dict) and "entryname" in variables:
entryname = variables["entryname"]
try:
scanname, _ = os.path.splitext(bfname % "")
scanname, _ = os.path.splitext(bfname % "")
except Exception:
scanname, _ = os.path.splitext(bfname)
scanname, _ = os.path.splitext(bfname)

if appendentry is True:
sid = self.__getEnvVar("ScanID", 0)
Expand All @@ -1217,7 +1217,7 @@ def __appendSciCatDataset(self, hostname=None):
cgrp = sm[fdir]
if cgrp != scanname:
commands.append("__command__ stop")
commands.append(cgrp)
commands.append("%s:%s" % (cgrp, time.time()))
commands.append("__command__ start %s" % scanname)
else:
commands.append("__command__ start %s" % scanname)
Expand Down

0 comments on commit 05d953a

Please sign in to comment.