Fix habit import position
This commit is contained in:
parent
837d77481f
commit
21fd1e5aaf
3 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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"],
|
||||
}
|
||||
|
|
|
@ -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>"]
|
||||
|
||||
|
|
Loading…
Reference in a new issue