Changeset 104:7f6da8639aca for src


Ignore:
Timestamp:
04/22/12 07:42:42 (13 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Fixed the sending of the flight rating

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/web.py

    r97 r104  
    547547        data["flightdefect"] = SendPIREP._latin2Encoder(pirep.flightDefects)[0]
    548548        data["kritika"] = pirep.getRatingText()
    549         data["flightRating"] = "%.1f" % (max(0.0, pirep.rating),)
     549        data["flightrating"] = "%.1f" % (max(0.0, pirep.rating),)
    550550        data["distance"] = "%.3f" % (pirep.flownDistance,)
    551551        data["insdate"] = datetime.date.today().strftime("%Y-%m-%d")
Note: See TracChangeset for help on using the changeset viewer.