Index: sitescripts/__init__.py |
=================================================================== |
--- a/sitescripts/__init__.py |
+++ b/sitescripts/__init__.py |
@@ -18,6 +18,8 @@ |
# However, everybody potentially running these scripts in a terminal is working |
# on them and should be aware of all warnings. |
import sys |
+import pymysql |
Vasily Kuznetsov
2019/01/31 17:34:29
I don't think that it's a good idea to make any us
rhowell
2019/02/02 05:45:22
Good point. I am able to move this to sitescripts/
|
if sys.stderr.isatty(): |
import warnings |
warnings.simplefilter('default') |
+pymysql.install_as_MySQLdb() |
rhowell
2019/01/30 23:47:35
updateReport.py uses some modules from sitescripts
|