Skip to content

Commit

Permalink
#75: Change paths
Browse files Browse the repository at this point in the history
  • Loading branch information
keiranjprice101 committed Sep 26, 2019
1 parent ac62218 commit 36ec26c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion common/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
class Config(object):

def __init__(self):
with open("../config.json") as target:
with open("config.json") as target:
self.config = json.load(target)
target.close()

Expand Down
2 changes: 1 addition & 1 deletion common/logger_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from common.config import config

log_level = "DEBUG"
LOG_FILE_NAME = "../logs.log"
LOG_FILE_NAME = "logs.log"
logger_config = {
"version": 1,
"formatters": {"default": {
Expand Down
2 changes: 1 addition & 1 deletion src/swagger/swagger_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def get_spec_as_dict(self):


class SwaggerGenerator(object):
FILE_PATH = Path.cwd() / "swagger" / "openapi.yaml"
FILE_PATH = Path.cwd() / "src" / "swagger" / "openapi.yaml"

def __init__(self):
self.endpoints = []
Expand Down

0 comments on commit 36ec26c

Please sign in to comment.