Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Clean up paths to payday log dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
chadwhitacre committed Jan 21, 2016
1 parent ec8d535 commit 4fea37f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/masspay.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions payday.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4fea37f

Please sign in to comment.