Fixed an issue where the create_app() function was called twice if an SQLite database file was not present. Remove the exec call to run the 'setup.py' instead call the setup database function directly.
Branch ------ master Details ------- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=bf7de8e7a535d1f1241657efe42c5f05b12aba9d Modified Files -------------- web/pgAdmin4.py | 14 +++++--------- web/setup.py | 7 +++---- 2 files changed, 8 insertions(+), 13 deletions(-)