From 3af7642388b7ff1c69115c42e7c12c500196bc7b Mon Sep 17 00:00:00 2001 From: Pentabyteman Date: Fri, 17 Nov 2017 23:08:37 +0100 Subject: [PATCH] Update manage.py --- web_dev/sas_web/manage.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web_dev/sas_web/manage.py b/web_dev/sas_web/manage.py index 4331c30..5385018 100755 --- a/web_dev/sas_web/manage.py +++ b/web_dev/sas_web/manage.py @@ -5,8 +5,7 @@ import platform if __name__ == "__main__": - operating_system = platform.platform - if operating_system.startswith( "Darwin" ): + if platform.system() = "Darwin": import pymysql pymysql.install_as_MySQLdb()