Giter Site home page Giter Site logo

Comments (2)

stucharo avatar stucharo commented on May 31, 2024

There's something odd happening in next_session_times() where response.json()["d"] returns an empty list (rather than the expected dict)for some series. So far it looks like this happens on:

2720 : eNASCAR Coca-Cola Series
2861 : iRacing Endurance Le Mans Series
2721 : NASCAR Road to Pro
2811 : Nurburgring Endurance Championship
2817 : Porsche Esports Sprint Challenge
2812 : Porsche TAG Heuer Esports Supercup
2908 : WoO Late Model WC Series

Has this behaviour been noticed before? Any ideas why it would happen on those particular series? I'll try and have a closer look later if we don't have any more insight yet.

Edit: Nevermind, it's series with no upcoming sessions. I'll modify the client to check this condition.

from pyracing.

Esterni avatar Esterni commented on May 31, 2024

It's interesting that it doesn't provide what the next session would be, even if it's further into the future.

It might be good to log a response that no sessions were detected, which usually indicates a series that has sessions spread far apart.

from pyracing.

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.