From c5d802d70fb3bd63fa35848491bae1e7ff34c4c5 Mon Sep 17 00:00:00 2001 From: Patryk Michalik Date: Sat, 26 Jun 2021 15:25:19 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=98send=5Fnotifications.py=E2=80=99:=20Fi?= =?UTF-8?q?x=20opening=20of=20APK=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- send_notifications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/send_notifications.py b/send_notifications.py index 14e43daf15..12cea12e81 100644 --- a/send_notifications.py +++ b/send_notifications.py @@ -68,5 +68,5 @@ for commit in reversed(commits): send_message_to_ci_channel(message=message) send_silent_message_to_team_group(message=message) -with open(os.listdir(artifact_directory)[0], 'rb') as apk: +with open(f'{artifact_directory}/{os.listdir(artifact_directory)[0]}', 'rb') as apk: send_document_to_ci_channel(document=apk) \ No newline at end of file