{ "error_code": "500", "data": { "zhuang_tai": "token_no", "times": "1764538817" } }
'''Detect if the current session is running under wayland'''
import os
def add_info(report, ui):
if os.environ.get('WAYLAND_DISPLAY'):
report.setdefault('Tags', '')
report['Tags'] += ' wayland-session'