__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
from apport.hookutils import *
from os import path
import distro
import webbrowser
if distro.id() == 'debian':
community_support = "https://www.debian.org/support"
else:
community_support = "https://www.ubuntu.com/support/community-support"
def add_info(report, ui):
if report['ProblemType'] == 'Crash':
return
response = ui.choice("How would you describe the issue?", ["I'm having problems with the Help Browser.", "I need help performing a Task."], False)
if response == None:
raise StopIteration
if response == [0]: # bug on the documentation or yelp
return
# user is requesting help rather than having a bug.
ui.information("Since you're requesting help rather than having a bug on the application please visit a suitable support resource: %s. Thanks in advance." % community_support)
webbrowser.open(community_support)
raise StopIteration