👾 fix bug: wrong variable scope for dir_path
This commit is contained in:
parent
3c38890d59
commit
ff97e69696
1 changed files with 3 additions and 2 deletions
5
main.py
5
main.py
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue