Git Product home page Git Product logo

Comments (4)

StoneSpb avatar StoneSpb commented on June 20, 2024

Hi, James!

Thanks, will fix it :)

 James Sanford [email protected]:

I was clicking through the various modes (best sector, optimal, ...) repeatedly and it crashed.
Looks like statusbox/format_time() expects milliseconds to only ever be an integer... There are likely more bugs in statusbox.
Exception: Thu Sep 24 05:24:46 2015
Traceback (most recent call last):
File "apps/python/deltabar\deltabar.py", line 59, in acUpdate
deltabar_app.acUpdate(delta_t)
File "apps/python/deltabar\deltabar_lib\deltabar_lib.py", line 356, in acUpdate
pos, self.lap.invalid_sectors[current_sector])
File "apps/python/deltabar\deltabar_lib\statusbox.py", line 221, in update_frame
self.data.textbox.set('i{}_2'.format(current_sector), format_time(current_sector_time - benchmark_sector_time, invalid=invalid, delta=True))
File "apps/python/deltabar\deltabar_lib\statusbox.py", line 71, in format_time
return "{}{}{}.{:03d}".format(star, sign, sec, thou)
ValueError: Unknown format code 'd' for object of type 'float'

Reply to this email directly or view it on GitHub .

from assetto-corsa-deltabar.

jamessanford avatar jamessanford commented on June 20, 2024

Oh, I just fixed it :)

from assetto-corsa-deltabar.

StoneSpb avatar StoneSpb commented on June 20, 2024

Mmm!
Thank you! :)

Alexander Denisov

James Sanford [email protected]:

Oh, I just fixed it :)

Reply to this email directly or view it on GitHub .

from assetto-corsa-deltabar.

jamessanford avatar jamessanford commented on June 20, 2024

"fixed" in 469c7e9

from assetto-corsa-deltabar.

Related Issues (6)

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.