From c4d43ceee47550957ea4e6a55bb6d880c00bc230 Mon Sep 17 00:00:00 2001 From: Alexander Mishchenko Date: Wed, 7 Oct 2020 14:26:02 +0300 Subject: [PATCH] Fix checking Instagram version (due to missing grep on Windows) --- src/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.py b/src/utils.py index d2057f4..d22e348 100644 --- a/src/utils.py +++ b/src/utils.py @@ -31,7 +31,7 @@ def get_version(): def get_instagram_version(): - stream = os.popen('adb shell dumpsys package com.instagram.android | grep versionName') + stream = os.popen('adb shell dumpsys package com.instagram.android') output = stream.read() version_match = re.findall('versionName=(\\S+)', output) if len(version_match) == 1: