Fix habit import position

This commit is contained in:
Marty Oehme 2021-08-28 10:59:20 +02:00
parent 837d77481f
commit 21fd1e5aaf
Signed by: Marty
GPG Key ID: B7538B8F50A1C800
3 changed files with 8 additions and 1 deletions

View File

@ -7,6 +7,12 @@ and this project tries to adhere to [Semantic Versioning](https://semver.org/spe
## [Unreleased]
## [0.2.1] - 2021-08-28
### Fixed
* Fix Loop Habit import breaking because of missing habit position
## [0.2.0] - 2021-08-28
### Added

View File

@ -28,6 +28,7 @@ def trackers_to_habits(trackers):
"highlight": 0,
"name": f"{t['emoji']} {t['label']}",
"question": "",
"position": 0,
"unit": "" if t["uom"] == "num" else t["uom"],
"uuid": t["id"],
}

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "nomie-migration"
version = "0.2.0"
version = "0.2.1"
description = "migrate nomie data to loop habits tracker"
authors = ["Marty Oehme <marty.oehme@gmail.com>"]