diff options
author | Asbjørn Sloth Tønnesen <ast@fiberby.net> | 2020-01-26 19:02:46 +0000 |
---|---|---|
committer | Asbjørn Sloth Tønnesen <ast@fiberby.net> | 2020-01-26 19:02:46 +0000 |
commit | 341839955fca57a4cfe8908e37b3a0fba45a2c2f (patch) | |
tree | 50088d5872c77062b39258a7f40d1d5c3258072d | |
parent | c59f1d55b8942e41f96f868e39edff67c47434e2 (diff) | |
download | peeringdb-simplesync-341839955fca57a4cfe8908e37b3a0fba45a2c2f.tar.gz peeringdb-simplesync-341839955fca57a4cfe8908e37b3a0fba45a2c2f.tar.xz peeringdb-simplesync-341839955fca57a4cfe8908e37b3a0fba45a2c2f.zip |
fixed to work with API changes in v2.18.0
Signed-off-by: Asbjørn Sloth Tønnesen <ast@fiberby.net>
-rwxr-xr-x | sync.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |