From 4292e2e2e3d188e8f1a91b3d032f7f37001467fe Mon Sep 17 00:00:00 2001 From: kthoden Date: Thu, 18 Jul 2019 16:29:03 +0200 Subject: [PATCH] Harmonize shelf for pickles --- tei2imxml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tei2imxml.py b/tei2imxml.py index 4b0ce3a..d1e2b60 100755 --- a/tei2imxml.py +++ b/tei2imxml.py @@ -1282,7 +1282,7 @@ def main(): # objectify.deannotate(final_tree, cleanup_namespaces=True) # etree.cleanup_namespaces(xml_root) - with open(OUTPUT_DIR / 'data.pickle', 'wb') as f: + with open(OUTPUT_DIR / 'tmp_files/data.pickle', 'wb') as f: # Pickle the 'data' dictionary using the highest protocol available. pickle.dump(data_to_pickle, f, pickle.HIGHEST_PROTOCOL)