Giter VIP home page Giter VIP logo

Comments (5)

pltrant avatar pltrant commented on September 14, 2024

This fixes it on Windows, but I'm not sure about linux:

_get_airport_timezone in flight.py:

script_dir = os.path.dirname(__file__)
tz_file_path = '..\\utils\\airport_timezones.json'
with open(os.path.join(script_dir, tz_file_path)) as tz:

from auto-southwest-check-in.

jdholtz avatar jdholtz commented on September 14, 2024

Thanks for bringing this to my attention. I forgot to test on Windows. I’ll try to integrate your potential fix to work on both systems.

from auto-southwest-check-in.

jdholtz avatar jdholtz commented on September 14, 2024

Oh, this is actually an error when not running the script in the project directory. That means the config file is not being read correctly either. I will make a new branch to fix this soon.

Edit: The config file was still being read correctly.

from auto-southwest-check-in.

jdholtz avatar jdholtz commented on September 14, 2024

Hey @pltrant. I've provided a potential fix in the absolute_paths branch. Can you test this to make sure it works in Windows (python should handle it, but just to be sure)?

P.S your Check In information is in the picture you provided. You may want to remove that

from auto-southwest-check-in.

pltrant avatar pltrant commented on September 14, 2024

Confirmed, this resolved the issue!

[The check in information from my original post were modified . That's not the real information . Thanks though!]

from auto-southwest-check-in.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.