From 3ee619ae3c69c94c860b80aa1a92e20e2f6b7361 Mon Sep 17 00:00:00 2001 From: scott Date: Sun, 9 Jan 2022 19:30:23 -0700 Subject: [PATCH] allow dict_pics to write dict_pics.txt --- ebay_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ebay_api.py b/ebay_api.py index 72accb9..2d44ac9 100644 --- a/ebay_api.py +++ b/ebay_api.py @@ -450,8 +450,8 @@ class CurateData: file_name = target_dir + os.sep + tag dict_pics.update({k:file_name}) -# with open('dict_pics.txt', 'w') as f: -# json.dump(dict_pics, f) + with open('dict_pics.txt', 'w') as f: + json.dump(dict_pics, f) return dict_pics # TODO still need to find sol to outliers (i.e., naming scheme for unusual source URLs)