mirror of
https://github.com/simon987/Simple-Incremental-Search-Tool.git
synced 2025-12-13 15:19:05 +00:00
Very minor refactor
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import json
|
||||
import elasticsearch
|
||||
from elasticsearch.exceptions import TransportError
|
||||
from threading import Thread
|
||||
import subprocess
|
||||
import requests
|
||||
@@ -34,7 +33,7 @@ class Indexer:
|
||||
|
||||
@staticmethod
|
||||
def run_elasticsearch():
|
||||
|
||||
|
||||
if platform.system() == "Windows":
|
||||
subprocess.Popen(["elasticsearch\\bin\\elasticsearch.bat"])
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user