Don't download geolite db in offline mode
This commit is contained in:
parent
815fe02c83
commit
c63215c992
1 changed files with 3 additions and 0 deletions
|
@ -560,6 +560,9 @@ class UiWebsocketPlugin(object):
|
|||
import shutil
|
||||
from util import helper
|
||||
|
||||
if config.offline:
|
||||
return False
|
||||
|
||||
self.log.info("Downloading GeoLite2 City database...")
|
||||
self.cmd("progress", ["geolite-info", _["Downloading GeoLite2 City database (one time only, ~20MB)..."], 0])
|
||||
db_urls = [
|
||||
|
|
Loading…
Reference in a new issue