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()