Skip to content

Commit 30a95bb

Browse files
committed
Fix command line options and misnamed variable
The moral of the last couple commits is: don't blindly commit code you wrote just before going to bed without testing it to see if it works.
1 parent 1fb819a commit 30a95bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ae_batch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""ae_batch
44
55
Usage:
6-
ae_batch [(-i | --input-file) <if>] [(-o | --output-file) <of>] [(-e | --error-file) <ef>] [(-a | --api-key) <api>] <lf>
6+
ae_batch [-i | --input-file <if>] [-o | --output-file <of>] [-e | --error-file <ef>] [-a | --api-key <api>] <lf>
77
"""
88

99
from settings import api_key, mms_id, input_file, output_file, error_file, base_url
@@ -30,7 +30,7 @@ if __name__ == '__main__':
3030
mms_id_list = []
3131
with open(list_file, 'r') as fh:
3232
for line in fh:
33-
list_file.append(line.strip())
33+
mms_id_list.append(line.strip())
3434

3535
for mms_id in mms_id_list:
3636
fetch(mms_id, output_file, error_file, api_key, base_url)

0 commit comments

Comments
 (0)