From 8ca6a7025849d04b302c95fdd2b6784409c03f8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Sat, 16 Feb 2019 14:38:03 +0100 Subject: [PATCH] print id of dns record first MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- cloudflare/fqdns.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cloudflare/fqdns.py b/cloudflare/fqdns.py index 5fc3368..53410c6 100755 --- a/cloudflare/fqdns.py +++ b/cloudflare/fqdns.py @@ -15,9 +15,9 @@ def format_csv(record): ) def format_table(record): - return '{:1} {:>20} {:>6} {:30} {:30}'.format( - ('P' if record['proxied'] else ''), + return '{:>20} {:1} {:>6} {:30} {:30}'.format( record['id'], + ('P' if record['proxied'] else ''), record['type'], record['name'], record['content'],