Skip to content
Snippets Groups Projects
Commit b9f7f325 authored by cramakri's avatar cramakri
Browse files

MINOR: Made logic to find the ibrain dropbox directory more robust

SVN: 24225
parent 7a2637bb
No related branches found
No related tags found
No related merge requests found
......@@ -182,6 +182,7 @@ class RegistrationConfirmationUtils(object):
""" Returns a directory 3 levels above the incoming directory """
def _getTopLevelDir(self, incoming):
global service
threadParameters = service.getRegistratorContext().getGlobalState().getThreadParameters()
incomingDirectory = threadParameters.getIncomingDataDirectory()
return incomingDirectory.getParentFile().getParent()
......
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