mirror of
https://github.com/enpaul/kodak.git
synced 2024-11-23 06:56:58 +00:00
Move index tooling to top level module namespace
This commit is contained in:
parent
5613f8287c
commit
5cbd0b019c
@ -5,7 +5,7 @@ import sys
|
||||
from kodak import __about__
|
||||
from kodak import configuration
|
||||
from kodak import database
|
||||
from kodak import tools
|
||||
from kodak import index
|
||||
|
||||
|
||||
def get_args() -> argparse.Namespace:
|
||||
@ -59,7 +59,7 @@ def main() -> int:
|
||||
if args.index:
|
||||
config = configuration.load()
|
||||
database.initialize(config)
|
||||
tools.index.build(config)
|
||||
index.build(config)
|
||||
return 0
|
||||
|
||||
if args.server:
|
||||
|
@ -1 +0,0 @@
|
||||
from kodak.tools import index
|
Loading…
Reference in New Issue
Block a user