summaryrefslogtreecommitdiff
path: root/py-fake-service
diff options
context:
space:
mode:
authorAlexandre Pretto Nunes <anunes@thoughtworks.com>2014-08-18 12:52:06 -0300
committerAlexandre Pretto Nunes <anunes@thoughtworks.com>2014-08-18 12:52:18 -0300
commit051c2838a3e9f31a25359504d0cfc8aae07affa5 (patch)
tree61e2b19dd21fc928d21742dc65e53119c3f0d8b3 /py-fake-service
parent15565cc8cc0652e09ed53650fd1ea99c33756255 (diff)
Decompress the same file that was downloaded
Diffstat (limited to 'py-fake-service')
-rw-r--r--py-fake-service/app/pixelated_user_agent.py2
1 files changed, 1 insertions, 1 deletions
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()