Skip to content

Commit

Permalink
log bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
beebeeoii committed Jan 21, 2022
1 parent 2707273 commit 48ccb64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion FyneApp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ Website = "https://github.com/beebeeoii/lominus"
Name = "Lominus"
ID = "com.beebeeoii.lominus"
Version = "1.2.0"
Build = 107
Build = 108
4 changes: 2 additions & 2 deletions internal/indexing/indexing.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func Build(dir string) (map[string]api.File, error) {

// CreateIndexMap writes the IndexMap to a csv file for which can be loaded for the next sync.
func CreateIndexMap(indexMap IndexMap) error {
logs.Logger.Infof("Creating index map: %s\n", INDEX_MAP_FILE_NAME)
logs.Logger.Infof("Creating index map: %s", INDEX_MAP_FILE_NAME)

indexMapPath, getIndexMapPathErr := getIndexMapPath()
if getIndexMapPathErr != nil {
Expand All @@ -83,7 +83,7 @@ func CreateIndexMap(indexMap IndexMap) error {

// LoadIndexMap loads the IndexMap csv file back to a map of IndexMapEntry, with the key being the file Id.
func LoadIndexMap(file io.Reader) (map[string]IndexMapEntry, error) {
logs.Logger.Infof("Loading index map: %s\n", INDEX_MAP_FILE_NAME)
logs.Logger.Infof("Loading index map: %s", INDEX_MAP_FILE_NAME)
r := csv.NewReader(file)
indexMap := map[string]IndexMapEntry{}

Expand Down

0 comments on commit 48ccb64

Please sign in to comment.