From 8ea4d847d685763bbf2dacd520ffb4f8908ac557 Mon Sep 17 00:00:00 2001 From: Slavek Kabrda Date: Mar 15 2018 15:23:33 +0000 Subject: Some functionality uses DOCS_FOLDER and TICKETS_FOLDER, so we need to set them either way. --- diff --git a/pagure/config.py b/pagure/config.py index 3347949..2e4f657 100644 --- a/pagure/config.py +++ b/pagure/config.py @@ -29,6 +29,9 @@ def reload_config(): # as expected and their values must be based on GIT_FOLDER. # To prevent large changes throughout the codebase, we omitted them # from config and we add them here. + config['DOCS_FOLDER'] = None + config['TICKETS_FOLDER'] = None + if config['ENABLE_DOCS']: config['DOCS_FOLDER'] = os.path.join( config['GIT_FOLDER'],