Rename Config.GetOriginalsPath() to OriginalsPath(), see #50

This commit is contained in:
Michael Mayer
2018-12-21 03:21:21 +01:00
parent b365a2ce57
commit c1219799da
17 changed files with 38 additions and 37 deletions

View File

@@ -29,11 +29,11 @@ func importAction(ctx *cli.Context) error {
tensorFlow := photoprism.NewTensorFlow(conf.GetTensorFlowModelPath())
indexer := photoprism.NewIndexer(conf.GetOriginalsPath(), tensorFlow, conf.Db())
indexer := photoprism.NewIndexer(conf.OriginalsPath(), tensorFlow, conf.Db())
converter := photoprism.NewConverter(conf.GetDarktableCli())
importer := photoprism.NewImporter(conf.GetOriginalsPath(), indexer, converter)
importer := photoprism.NewImporter(conf.OriginalsPath(), indexer, converter)
importer.ImportPhotosFromDirectory(conf.GetImportPath())