Skip to content

Conversation

@quantum-x
Copy link

Fixing a slight bug in @Davis-3450's PR - Device selection (-s) must be directly after the ADB command.

Device selection (-s) must be directly after the ADB command.
@quantum-x quantum-x marked this pull request as draft August 26, 2025 15:29
Corrected logic error relating to commands without a device.
@quantum-x quantum-x marked this pull request as ready for review August 26, 2025 15:32
@Davis-3450
Copy link
Contributor

Hey, I have re-read the code and just noticed that the command was in fact broken.

The command syntax should have been following: adb -s ... however, I don't get why didn't you just simply change the specific lines, also why adding else? I'll take a deeper look into this later today.

@quantum-x
Copy link
Author

@Davis-3450 Didn't want to be someone that complained without fixing.
Haven't written python in a while, so my solution definitely might not be pythonesque!

However it works, and got me past my problem. Would be more than happy for you to adjust as per PEP 8 - that's why I @'d you!

Thanks very much

@Davis-3450
Copy link
Contributor

Hey @quantum-x , take a look at #50 may you help me test it?, should be more robust.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants