summaryrefslogtreecommitdiff
path: root/raphodo/errorlog.py
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-01-03 18:32:15 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-01-03 18:32:15 +0100
commitb71beaf0d22f182ab0b95b1b35da7e786585c4e7 (patch)
tree1e95d573c09bee1dec63d909cc59ef57222a7710 /raphodo/errorlog.py
parentdeb736d38beac3863c04d4c0f285c28557fe07c6 (diff)
parent8351a36cbcbe8529ec1c0bb60d77bf65fb59fe12 (diff)
Update upstream source from tag 'upstream/0.9.7'
Update to upstream version '0.9.7' with Debian dir 9c39d3b734403d3ae14a7bfdb1f76e371acb4e78
Diffstat (limited to 'raphodo/errorlog.py')
-rw-r--r--raphodo/errorlog.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/raphodo/errorlog.py b/raphodo/errorlog.py
index 763d094..b59399b 100644
--- a/raphodo/errorlog.py
+++ b/raphodo/errorlog.py
@@ -50,6 +50,7 @@ from raphodo.constants import ErrorType
from raphodo.rpdfile import RPDFile
from raphodo.problemnotification import Problem, Problems
from raphodo.viewutils import translateButtons
+from raphodo.storage import open_in_file_manager
# ErrorLogMessage = namedtuple('ErrorLogMessage', 'title body name uri')
@@ -405,10 +406,11 @@ class ErrorReport(QDialog):
index = int(fake_uri[fake_uri.find('///') + 3:])
uri = self.uris[index]
- cmd = '{} {}'.format(self.rapidApp.file_manager, uri)
- logging.debug("Launching: %s", cmd)
- args = shlex.split(cmd)
- subprocess.Popen(args)
+ open_in_file_manager(
+ file_manager=self.rapidApp.file_manager,
+ file_manager_type=self.rapidApp.file_manager_type,
+ uri=uri
+ )
def _saveUrls(self, text: str) -> str:
"""