Compare commits
2 commits
66f9a51769
...
9e0df969e9
| Author | SHA1 | Date | |
|---|---|---|---|
| 9e0df969e9 | |||
| 6b82d7bbf7 |
2 changed files with 4 additions and 2 deletions
|
|
@ -397,6 +397,7 @@ 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,7 +200,8 @@ 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