From 0cb76ce876df5007125950250673d7d084c0f115 Mon Sep 17 00:00:00 2001 From: Jacob Adams Date: Sat, 9 Jan 2021 21:51:46 -0500 Subject: [PATCH] shared/packet: Remove print when get_packet is called Otherwise this print ends up as part of the dump file and has to be removed when restoring --- shared/packet.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/shared/packet.py b/shared/packet.py index 7f96763..f732cf9 100644 --- a/shared/packet.py +++ b/shared/packet.py @@ -8,10 +8,8 @@ def get_packet_file_path(): def fetch_packet(): if settings.SPONSORSHIP_PACKET_FILE and settings.SPONSORSHIP_PACKET_URL: if not os.path.exists(get_packet_file_path()): - print("Downloading the sponsorship packet to: {}", get_packet_file_path()) - r = requests.get(settings.SPONSORSHIP_PACKET_URL, stream=True) if r.status_code == 200: with open(get_packet_file_path(), 'wb') as f: for chunk in r.iter_content(1024): - f.write(chunk) \ No newline at end of file + f.write(chunk)