|
@@ -8,7 +8,7 @@ from pathlib import Path
|
|
|
|
|
|
@plac.pos("period", "", type=str)
|
|
@plac.pos("period", "", type=str)
|
|
def actuals(period):
|
|
def actuals(period):
|
|
- base_dir = Path(__file__).absolute().parent.parent
|
|
+ base_dir = Path(__file__).parent.parent.resolve()
|
|
print(base_dir)
|
|
print(base_dir)
|
|
df1 = pd.read_csv(
|
|
df1 = pd.read_csv(
|
|
base_dir / "data/Belege_Planung_Ist_FC_AHR.csv", sep=";", decimal=",", dtype={0: str, 1: str, 2: str, 3: float}
|
|
base_dir / "data/Belege_Planung_Ist_FC_AHR.csv", sep=";", decimal=",", dtype={0: str, 1: str, 2: str, 3: float}
|
|
@@ -60,7 +60,7 @@ def actuals(period):
|
|
|
|
|
|
@plac.pos("year", "", type=str)
|
|
@plac.pos("year", "", type=str)
|
|
def planning_prev(year):
|
|
def planning_prev(year):
|
|
- base_dir = Path.cwd()
|
|
+ base_dir = Path(__file__).parent.parent.resolve()
|
|
print(base_dir)
|
|
print(base_dir)
|
|
df1 = pd.read_csv(
|
|
df1 = pd.read_csv(
|
|
base_dir / f"data/Planner_{year}_V1_Plan.csv",
|
|
base_dir / f"data/Planner_{year}_V1_Plan.csv",
|