From 4fea37f8af20d7e8ee3f9d805a1d344dd0f4648f Mon Sep 17 00:00:00 2001 From: Chad Whitacre Date: Thu, 21 Jan 2016 13:21:15 -0500 Subject: [PATCH] Clean up paths to payday log dirs --- bin/masspay.py | 2 +- payday.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/masspay.py b/bin/masspay.py index ee711fb079..feb69891c6 100755 --- a/bin/masspay.py +++ b/bin/masspay.py @@ -33,7 +33,7 @@ from httplib import IncompleteRead -os.chdir('../masspay') +os.chdir('../logs/masspay') ts = datetime.datetime.now().strftime('%Y-%m-%d') INPUT_CSV = '{}.input.csv'.format(ts) PAYPAL_CSV = '{}.output.paypal.csv'.format(ts) diff --git a/payday.sh b/payday.sh index 2d27722b90..ac0693ab7b 100755 --- a/payday.sh +++ b/payday.sh @@ -67,9 +67,9 @@ start () { # ==== if [ "$2" == "for_real_please" ]; then - LOG="../paydays/gratipay-$1.log" + LOG="../logs/paydays/gratipay-$1.log" else - LOG="../paydays/test-$1.log" + LOG="../logs/paydays/test-$1.log" fi if [ -f $LOG ]; then