👾 fix bug: wrong variable scope for dir_path

This commit is contained in:
Marc Michalsky 2021-08-12 08:42:28 +02:00
parent 3c38890d59
commit ff97e69696

View file

@ -7,10 +7,11 @@ from redminelib import Redmine
from envyaml import EnvYAML
from jinja2 import Template
dir_path = os.path.dirname(os.path.realpath(__file__))
def treat_issues():
dir_path = os.path.dirname(os.path.realpath(__file__)) + '/'
# Set up logging
logging.basicConfig(
filename=dir_path + 'marvin.log',