add SO link to err msg when sqlite is not installed

This commit is contained in:
Kevin Froman 2021-01-13 09:37:47 +00:00
parent 314bec0909
commit 79b46b62eb
1 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,8 @@ try:
import sqlite3
except ModuleNotFoundError:
sys.stderr.write(
'Error, Onionr requires Sqlite3-enabled Python.\n')
'Error, Onionr requires Sqlite3-enabled Python.\n' +
'https://stackoverflow.com/a/1875095\n')
sys.exit(1)
"""
This program is free software: you can redistribute it and/or modify