From 9971a04b70e013921edbcba5f330aa0d6c464c60 Mon Sep 17 00:00:00 2001 From: Ernesto Rico-Schmidt Date: Fri, 27 May 2016 22:28:35 +0200 Subject: added automation ID to list diff --git a/program/utils.py b/program/utils.py index 587e83d..40bcb2a 100644 --- a/program/utils.py +++ b/program/utils.py @@ -25,7 +25,7 @@ def get_automation_id_choices(): with open(cached_shows, 'w') as cache: cache.write(shows_json) - shows = [(s['id'], s['title']) for s in shows_list] + shows = [(s['id'], '%d | %s' % (s['id'], s['title'])) for s in shows_list] return shows -- cgit v0.10.2