fix bug in reveal code

This commit is contained in:
Job Evers-Meltzer 2016-07-15 11:33:38 -05:00
parent 5aecd02668
commit 563896b126

View file

@ -2249,7 +2249,7 @@ class LBRYDaemon(jsonrpc.JSONRPC):
d = threads.deferToThread(subprocess.Popen, ['open', '-R', path])
else:
# No easy way to reveal specific files on Linux, so just open the containing directory
d = threads.deferToThread(subprocess.Popen, ['xdg-open', os.dirname(path)])
d = threads.deferToThread(subprocess.Popen, ['xdg-open', os.path.dirname(path)])
d.addCallback(lambda _: self._render_response(True, OK_CODE))