+ basepath = os.path.join(os.path.expanduser("~"), ".dropbox")
+ for path in [os.path.join(basepath, "instance1"), basepath]:
+ if os.path.exists(path) and os.path.islink(path):
+ return path
+ raise NotImplementedError("Path not found " + basepath + "[instance1]")