Skip to content

Commit

Permalink
better error message for pymysql missing
Browse files Browse the repository at this point in the history
  • Loading branch information
mahmoud committed Jun 8, 2019
1 parent 621693c commit dd71206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion montage/labs.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class MissingMySQLClient(RuntimeError):

def fetchall_from_commonswiki(query, params):
if pymysql is None:
raise MissingMySQLClient('could not import oursql, check your'
raise MissingMySQLClient('could not import pymysql, check your'
' environment and restart the service')
db_title = 'commonswiki_p'
db_host = 'commonswiki.labsdb'
Expand Down

0 comments on commit dd71206

Please sign in to comment.