Skip to content
Snippets Groups Projects
Commit ce143dbf authored by operator for beamline's avatar operator for beamline
Browse files

Set back removal if aborted and sync on tomodir

parent 0094df6b
No related branches found
No related tags found
No related merge requests found
......@@ -177,7 +177,6 @@ class _TomoDirProcess(OWClient, qt.QObject):
self.sigNewObservation.emit((status, info))
def _removeAcquisition(self, scanID, reason):
return
if os.path.exists(scanID) and os.path.isdir(scanID):
logger.info("removing forlder %s because %s" % (scanID, reason))
RSyncManager().removeDir(scanID)
......@@ -270,7 +269,7 @@ class _TomoDirProcess(OWClient, qt.QObject):
info = 'Start synchronization between %s and %s' % (source, target)
self.sigNewInformation.emit(info)
#RSyncManager().syncFolder(source, os.path.dirname(target))
RSyncManager().syncFolder(source, os.path.dirname(target))
return True
else:
return False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment