diff --git a/definitions.py b/definitions.py index 12fb57e..ac8e3f5 100644 --- a/definitions.py +++ b/definitions.py @@ -38,4 +38,5 @@ INIT_CONTENT = 'print("Hello, world.")' GGAME_USER = 'BrythonServer' +GGAME_DEV_USER = 'tiggerntatie' # for development only GGAME_REPOSITORY = 'ggame' diff --git a/main.py b/main.py index 65b8685..7b7e473 100644 --- a/main.py +++ b/main.py @@ -266,4 +266,5 @@ def v1_load(): if __name__ == "__main__": + GGAME_USER = GGAME_DEV_USER app.run(host=os.getenv("IP", "0.0.0.0"),port=int(os.getenv("PORT", 8080))) diff --git a/static/bs.js b/static/bs.js index 4481306..ed3bffc 100644 --- a/static/bs.js +++ b/static/bs.js @@ -48,7 +48,8 @@ var bsConsole = function(){ var original = console[method] console[method] = function(){ for (i = 0; i < arguments.length; i++) { - if (arguments[i].indexOf("Error 404 means that Python module") == -1) { + if (arguments[i].indexOf("Error 404 means that Python module") == -1 && + arguments[i].indexOf("using indexedDB for stdlib modules cache") == -1) { PrintConsole(arguments[i]); } } diff --git a/templates/layout.html b/templates/layout.html index f9f1894..24bd083 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -22,8 +22,8 @@ - - + +