diff --git a/.github/workflows/github_action_test_suite.yml b/.github/workflows/github_action_test_suite.yml index f2ed790c79..b9a10be582 100644 --- a/.github/workflows/github_action_test_suite.yml +++ b/.github/workflows/github_action_test_suite.yml @@ -64,7 +64,7 @@ jobs: run: | python -m pip install --upgrade pip pip install wheel - pip install psycopg2-binary + pip install psycopg2-binary==2.8.6 # fix issue for Django 2.2 pip install mysqlclient pip install coveralls pip install codacy-coverage diff --git a/evennia/web/static/webclient/js/evennia.js b/evennia/web/static/webclient/js/evennia.js index d406db1453..401c841cb5 100644 --- a/evennia/web/static/webclient/js/evennia.js +++ b/evennia/web/static/webclient/js/evennia.js @@ -195,7 +195,7 @@ An "emitter" object must have a function // to listen to cmdname events. // var on = function (cmdname, listener) { - if (typeof(listener === 'function')) { + if (typeof(listener) === 'function') { listeners[cmdname] = listener; }; };