superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johnbod...@apache.org
Subject [incubator-superset] branch master updated: Update __init__.py (#7166)
Date Mon, 01 Apr 2019 16:50:33 GMT
This is an automated email from the ASF dual-hosted git repository.

johnbodley pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new f13e0a8  Update __init__.py (#7166)
f13e0a8 is described below

commit f13e0a8d58fa6efa3eeb534500e949c49bd4ae05
Author: John Bodley <4567245+john-bodley@users.noreply.github.com>
AuthorDate: Mon Apr 1 09:50:20 2019 -0700

    Update __init__.py (#7166)
---
 superset/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/__init__.py b/superset/__init__.py
index 5e77328..69ad1f5 100644
--- a/superset/__init__.py
+++ b/superset/__init__.py
@@ -45,7 +45,7 @@ CONFIG_MODULE = os.environ.get('SUPERSET_CONFIG', 'superset.config')
 if not os.path.exists(config.DATA_DIR):
     os.makedirs(config.DATA_DIR)
 
-with open(APP_DIR + '/static/assets/backendSync.json', 'r') as f:
+with open(APP_DIR + '/static/assets/backendSync.json', 'r', encoding='utf-8') as f:
     frontend_config = json.load(f)
 
 app = Flask(__name__)


Mime
View raw message