Add $PATH to crash info

This commit is contained in:
Florian Bruhin 2016-09-15 14:56:27 +02:00
parent e338d4b49c
commit 8403f2451f

View File

@ -99,7 +99,7 @@ def get_fatal_crash_dialog(debug, data):
def _get_environment_vars(): def _get_environment_vars():
"""Gather environment variables for the crash info.""" """Gather environment variables for the crash info."""
masks = ('DESKTOP_SESSION', 'DE', 'QT_*', 'PYTHON*', 'LC_*', 'LANG', masks = ('DESKTOP_SESSION', 'DE', 'QT_*', 'PYTHON*', 'LC_*', 'LANG',
'XDG_*', 'QUTE_*') 'XDG_*', 'QUTE_*', 'PATH')
info = [] info = []
for key, value in os.environ.items(): for key, value in os.environ.items():
for m in masks: for m in masks: