jdholtz / auto-southwest-check-in

A Python script that automatically checks in to your Southwest flight 24 hours beforehand.
GNU General Public License v3.0
460 stars 89 forks source link

Syntax Error #285

Closed The-Kevster-101 closed 3 months ago

The-Kevster-101 commented 3 months ago

Version

7.5

Browser Version

Chrome

Description

Traceback (most recent call last): File "southwest.py", line 59, in init(arguments) File "southwest.py", line 52, in init from lib.main import main File "/Users/Kevin/auto-southwest-check-in/lib/main.py", line 11, in from .config import GlobalConfig, ReservationConfig File "/Users/Kevin/auto-southwest-check-in/lib/config.py", line 177 if check_fares := os.getenv("AUTO_SOUTHWEST_CHECK_IN_CHECK_FARES"): ^ SyntaxError: invalid syntax

To Reproduce

  1. run
  2. see error

Expected Behavior

No response

Relevant logs and program output

No response

Additional context

Python 3.7.6 on Mac Terminal

jdholtz commented 3 months ago

Python 3.7.6 on Mac Terminal

The script only supports Python 3.8 and above as that is what Selenium supports. The syntax issue you’re seeing here was added in Python 3.8.

The-Kevster-101 commented 3 months ago

Thank you. I realized that after searching some. I've updated to 3.12.4 and got it working.