Commit bf24c3476332489c1bb07a64e9595c7b52be00b9
1 parent
f32e16af
Added POS information to file name in get_payments_data script.
Showing
1 changed file
with
1 additions
and
1 deletions
accounts/management/commands/get_payments_data.py
... | ... | @@ -31,7 +31,7 @@ class Command(BaseCommand): |
31 | 31 | def get_payments_data(function): |
32 | 32 | start = STARTDATE.strftime('%Y%m%d') |
33 | 33 | end = ENDDATE.strftime('%Y%m%d') |
34 | - payments_path = 'data/work_%s_%s_%s-%s.csv' % (USERNAME, FUNCTION, start, end) | |
34 | + payments_path = 'data/work_%s_%s_%s_%s-%s.csv' % (USERNAME, FUNCTION, POS, start, end) | |
35 | 35 | payments_file = codecs.open(payments_path, 'wt', 'utf-8') |
36 | 36 | user = User.objects.get(username=USERNAME) |
37 | 37 | |
... | ... |