diff --git a/yunohost_tools.py b/yunohost_tools.py index c3253af0..df427938 100644 --- a/yunohost_tools.py +++ b/yunohost_tools.py @@ -276,12 +276,15 @@ def tools_update(): else: return { "Update" : stdout.splitlines() } + def tools_changelog(): """ Show Changelog """ - win_msg(_("TODO Show Changelog")) + with open('/tmp/changelog', 'r') as f: + read_data = f.read() + return { "Changelog" : read_data.splitlines() } def tools_upgrade():