Compare commits
No commits in common. "9e0df969e952cac738b9842153ddf5958d23506c" and "66f9a517690149991f3dab5999b7a75d0341ec60" have entirely different histories.
9e0df969e9
...
66f9a51769
2 changed files with 2 additions and 4 deletions
|
|
@ -397,7 +397,6 @@ def update_geoip(force=False):
|
||||||
path = os.path.join(settings.GEOIP_PATH, 'GeoLite2-City.mmdb')
|
path = os.path.join(settings.GEOIP_PATH, 'GeoLite2-City.mmdb')
|
||||||
if not os.path.exists(path) or force:
|
if not os.path.exists(path) or force:
|
||||||
url = 'http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz'
|
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)
|
print('download', url)
|
||||||
ox.net.save_url(url, "%s.gz"%path)
|
ox.net.save_url(url, "%s.gz"%path)
|
||||||
if os.path.exists(path):
|
if os.path.exists(path):
|
||||||
|
|
|
||||||
|
|
@ -200,8 +200,7 @@ pandora.ui.editor = function(data) {
|
||||||
'in': selection['in'],
|
'in': selection['in'],
|
||||||
out: selection.out,
|
out: selection.out,
|
||||||
rightsLevel: rightsLevel,
|
rightsLevel: rightsLevel,
|
||||||
title: data.title,
|
title: data.title
|
||||||
video: data.video
|
|
||||||
}).open();
|
}).open();
|
||||||
},
|
},
|
||||||
editannotation: function(data) {
|
editannotation: function(data) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue