Skip to content

Commit

Permalink
Correct kilojoules default measure unit to kJ
Browse files Browse the repository at this point in the history
  • Loading branch information
kb1900 committed Nov 11, 2020
1 parent 75eef81 commit fe979c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion myfitnesspal/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Client(MFPBase):
"sugar": (Mass, "g"),
"fiber": (Mass, "g"),
"potass.": (Mass, "mg"),
"kilojoules": (Energy, "Calorie"),
"kilojoules": (Energy, "kJ"),
}

def __init__(self, username, password=None, login=True, unit_aware=False):
Expand Down

0 comments on commit fe979c3

Please sign in to comment.