diff --git a/pandora/app/config.py b/pandora/app/config.py index d9a459cc..2ee803eb 100644 --- a/pandora/app/config.py +++ b/pandora/app/config.py @@ -397,9 +397,8 @@ def update_geoip(force=False): path = os.path.join(settings.GEOIP_PATH, 'GeoLite2-City.mmdb') if not os.path.exists(path) or force: url = 'http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz' - url = 'https://download.db-ip.com/free/dbip-city-lite-2020-01.mmdb.gz' print('download', url) - ox.net.save_url(url, "%s.gz" % path) + ox.net.save_url(url, "%s.gz"%path) if os.path.exists(path): os.unlink(path) os.system('gunzip "%s.gz"' % path) diff --git a/static/js/editor.js b/static/js/editor.js index 3d53d89a..6c3106b9 100644 --- a/static/js/editor.js +++ b/static/js/editor.js @@ -200,8 +200,7 @@ pandora.ui.editor = function(data) { 'in': selection['in'], out: selection.out, rightsLevel: rightsLevel, - title: data.title, - video: data.video + title: data.title }).open(); }, editannotation: function(data) {