diff --git a/src/application.py b/src/application.py index 6a2428a..058d8ea 100644 --- a/src/application.py +++ b/src/application.py @@ -15,10 +15,14 @@ You should have received a copy of the GNU General Public License along with scoreboard-benchmark . If not, see . """ +try: # This is mainly required for Travis CI automated testing. + from src.config import config +except ImportError: + from src.config_lock import config + from src.models import db from src.views.errors import error_pages from src.views.scoreboard import scoreboard -from src.config import config import sys import flask_bootstrap import flask diff --git a/src/config.lock.py b/src/config_lock.py similarity index 100% rename from src/config.lock.py rename to src/config_lock.py