Skip to content
This repository has been archived by the owner on Jan 27, 2025. It is now read-only.

Commit

Permalink
Update action_handle_blogger.py
Browse files Browse the repository at this point in the history
Fix to validation Private / empty account
  • Loading branch information
alexowson authored Sep 15, 2020
1 parent 7f20e77 commit e573231
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/action_handle_blogger.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,9 @@ def _interact_with_user(device,
if coordinator_layout.exists():
print("Scroll down to see more photos.")
coordinator_layout.scroll(DeviceFacade.Direction.BOTTOM)
else:

recycler_view = device.find(resourceId='android:id/list')
if not recycler_view.exists():
print(COLOR_OKGREEN + "Private / empty account." + COLOR_ENDC)
followed = _follow(device,
username,
Expand Down

0 comments on commit e573231

Please sign in to comment.