diff options
author | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2016-05-27 20:28:35 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2016-05-27 20:28:35 (GMT) |
commit | 9971a04b70e013921edbcba5f330aa0d6c464c60 (patch) | |
tree | 5deff9c0dd2be86016d109d2e57b33039be52f1e | |
parent | 88a5f600bb234d9e15fd88ecd32c04a2feb81ec2 (diff) |
added automation ID to list
-rw-r--r-- | program/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |