From 051c2838a3e9f31a25359504d0cfc8aae07affa5 Mon Sep 17 00:00:00 2001 From: Alexandre Pretto Nunes Date: Mon, 18 Aug 2014 12:52:06 -0300 Subject: Decompress the same file that was downloaded --- py-fake-service/app/pixelated_user_agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py-fake-service/app/pixelated_user_agent.py b/py-fake-service/app/pixelated_user_agent.py index bcadb5b9..e86e6760 100644 --- a/py-fake-service/app/pixelated_user_agent.py +++ b/py-fake-service/app/pixelated_user_agent.py @@ -121,7 +121,7 @@ def load_mailset(mailset): response = requests.get( 'https://example.wazokazi.is:8154/go/static/py-mediumtagged.tar.gz', verify=False) - mbox_archive_path = os.path.join(mbox_root, 'mediumtagged.tar.gz') + mbox_archive_path = os.path.join(mbox_root, 'py-mediumtagged.tar.gz') mbox_archive = open(mbox_archive_path, 'w') mbox_archive.write(response.content) mbox_archive.close() -- cgit v1.2.3