Skip to content

Commit

Permalink
Fix checking Instagram version (due to missing grep on Windows)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Mishchenko committed Oct 7, 2020
1 parent e71c93e commit c4d43ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c4d43ce

Please sign in to comment.