From b6928a6d0edec347f5c39a90078b3deee5102095 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Sun, 20 Jan 2019 16:00:18 -0800 Subject: [PATCH] Oops, I missed this when resolving merge conflicts --- onionshare/web/receive_mode.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/onionshare/web/receive_mode.py b/onionshare/web/receive_mode.py index 82f0de42..a64c2a73 100644 --- a/onionshare/web/receive_mode.py +++ b/onionshare/web/receive_mode.py @@ -124,10 +124,10 @@ class ReceiveModeWeb(object): try: os.makedirs(receive_mode_dir, 0o700) except PermissionError: - self.web.add_request(self.web.REQUEST_ERROR_DOWNLOADS_DIR_CANNOT_CREATE, request.path, { + self.web.add_request(self.web.REQUEST_ERROR_DATA_DIR_CANNOT_CREATE, request.path, { "receive_mode_dir": receive_mode_dir }) - print(strings._('error_cannot_create_downloads_dir').format(receive_mode_dir)) + print(strings._('error_cannot_create_data_dir').format(receive_mode_dir)) valid = False if not valid: flash('Error uploading, please inform the OnionShare user', 'error')