Deduplicating filepaths through a simple set is liable to change their order,
leading to inconsistent output.
... | ... |
@@ -32,8 +32,7 @@ def main(): |
32 | 32 |
args = parse_args() |
33 | 33 |
table = get_table() |
34 | 34 |
total = 0 |
35 |
- filepaths = set(args.json_file) |
|
36 |
- for filepath in filepaths: |
|
35 |
+ for filepath in args.json_file: |
|
37 | 36 |
accounts = load_json(filepath) |
38 | 37 |
timestamp = accounts.get('timestamp', time.time()) |
39 | 38 |
for account in accounts.get('data', []): |