Microsoft-Rewards-Farmer icon indicating copy to clipboard operation
Microsoft-Rewards-Farmer copied to clipboard

[BUG] invalid syntax

Open Vorffeed opened this issue 2 years ago • 2 comments

When I try to start the .py file, I get this error

File "C:\Microsoft-Rewards-Farmer-master\ms_rewards_farmer.py", line 26
    def browserSetup(headless_mode: bool = False, user_agent: str = PC_USER_AGENT) -> WebDriver:
                                  ^
SyntaxError: invalid syntax

Does anyone know what it is and how to fix it. because I have followed all the steps

Vorffeed avatar Aug 18 '22 08:08 Vorffeed

Did you change anything in the code from the original script?

Andrew1644563 avatar Aug 29 '22 00:08 Andrew1644563

I haven't touched it at all, it's the original.

Vorffeed avatar Aug 29 '22 14:08 Vorffeed

I know I'm a little late, but if you haven't figured it out yet try doing py --version, and report it here

Prabh-Saini avatar Oct 13 '22 09:10 Prabh-Saini

Python 3.10.4

Vorffeed avatar Oct 14 '22 09:10 Vorffeed

Fixed with v3.0 #188

charlesbel avatar Jul 19 '23 08:07 charlesbel