summaryrefslogtreecommitdiff
path: root/data/apport/shotwell.py
diff options
context:
space:
mode:
Diffstat (limited to 'data/apport/shotwell.py')
-rw-r--r--data/apport/shotwell.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/apport/shotwell.py b/data/apport/shotwell.py
new file mode 100644
index 0000000..4b0dd78
--- /dev/null
+++ b/data/apport/shotwell.py
@@ -0,0 +1,6 @@
+import os.path
+import apport.hookutils
+
+def add_info(report):
+ log_file = os.path.expanduser('~/.cache/shotwell/shotwell.log')
+ apport.hookutils.attach_file_if_exists(report, log_file, 'shotwell.log')