fix: _data in scripts

This commit is contained in:
Pavel Korytov 2021-11-26 19:57:45 +03:00
parent 2e3a455632
commit 3c9b975059
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
ROOT=$(git rev-parse --show-toplevel)
DOTFILES_REPO=$(git rev-parse --show-toplevel)/repos/dotfiles
DATA_ROOT=$(git rev-parse --show-toplevel)/_data
DATA_ROOT=$(git rev-parse --show-toplevel)/__data
echo $ROOT
echo $DOTFILES_REPO

View file

@ -14,7 +14,7 @@ root_process = subprocess.run(
['git', 'rev-parse', '--show-toplevel'], stdout=subprocess.PIPE
)
ROOT = root_process.stdout.decode('utf-8')[:-1]
DATA_ROOT = os.path.join(ROOT, '_data')
DATA_ROOT = os.path.join(ROOT, '__data')
PICS_ROOT = os.path.join(ROOT, 'static', 'stats')
plt.style.use(os.path.join(ROOT, 'scripts', 'palenight.mplstyle'))