mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 08:34:17 +02:00
fix: snaps read index error
This commit is contained in:
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
|||||||
|
|
||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||||
|
|
||||||
|
## [0.4.2]
|
||||||
|
### Fixes:
|
||||||
|
- [Snaps read index error](https://github.com/vinifmor/fpakman/issues/30)
|
||||||
|
|
||||||
## [0.4.1] - 2019-07-25
|
## [0.4.1] - 2019-07-25
|
||||||
### Improvements
|
### Improvements
|
||||||
- retrieving some Snaps data (icon, description and confinement) through Ubuntu API instead of Snap Store
|
- retrieving some Snaps data (icon, description and confinement) through Ubuntu API instead of Snap Store
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
__version__ = '0.4.1'
|
__version__ = '0.4.2'
|
||||||
__app_name__ = 'fpakman'
|
__app_name__ = 'fpakman'
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|||||||
@@ -39,8 +39,8 @@ def app_str_to_json(app: str) -> dict:
|
|||||||
'version': app_data[1],
|
'version': app_data[1],
|
||||||
'rev': app_data[2],
|
'rev': app_data[2],
|
||||||
'tracking': app_data[3],
|
'tracking': app_data[3],
|
||||||
'publisher': app_data[4],
|
'publisher': app_data[4] if len(app_data) >= 5 else None,
|
||||||
'notes': app_data[5]
|
'notes': app_data[5] if len(app_data) >= 6 else None
|
||||||
}
|
}
|
||||||
|
|
||||||
app_json.update(get_info(app_json['name'], ('summary', 'type', 'description')))
|
app_json.update(get_info(app_json['name'], ('summary', 'type', 'description')))
|
||||||
|
|||||||
Reference in New Issue
Block a user