From 341839955fca57a4cfe8908e37b3a0fba45a2c2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asbj=C3=B8rn=20Sloth=20T=C3=B8nnesen?= Date: Sun, 26 Jan 2020 19:02:46 +0000 Subject: fixed to work with API changes in v2.18.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Asbjørn Sloth Tønnesen --- sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync.py b/sync.py index c256147..15d1983 100755 --- a/sync.py +++ b/sync.py @@ -157,7 +157,7 @@ def main(): ignored = [ 'as_set' ] apidoc = json.loads(r.text) - for key in apidoc: + for key in apidoc['api']: if key[0] == '_' or key in ignored: continue try: sync_table(s, key) -- cgit v1.2.1