Skip to content

Commit

Permalink
fix: bench path used for config
Browse files Browse the repository at this point in the history
  • Loading branch information
gavindsouza committed Apr 17, 2020
1 parent f28c376 commit 6881c93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bench/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ def setup_backups(bench_path='.'):
logger.info('setting up backups')

bench_dir = os.path.abspath(bench_path)
user = get_config('.').get('frappe_user')
user = get_config(bench_path=bench_dir).get('frappe_user')
logfile = os.path.join(bench_dir, 'logs', 'backup.log')
bench.set_frappe_version(bench_path=bench_path)
system_crontab = CronTab(user=user)
Expand Down

0 comments on commit 6881c93

Please sign in to comment.