Skip to content

Commit

Permalink
Merge pull request Vauxoo#26 from vauxoo-dev/master-fix_circular_impo…
Browse files Browse the repository at this point in the history
…rt-truiz

[FIX] Fix circular import, the prev push was unintentional
  • Loading branch information
ruiztulio authored Oct 7, 2022
2 parents a35dd86 + 633d05c commit 1f12ebf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions utils/odoo.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package utils

import (
"entrypoint/utils"
"fmt"
log "github.com/sirupsen/logrus"
"gopkg.in/ini.v1"
Expand Down Expand Up @@ -101,7 +100,7 @@ func UpdateOdooConfig(config *ini.File) error {
if err := config.SaveTo(cfgFile); err != nil {
return err
}
if err := utils.RunAndLogCmdAs("python /home/odoo/getaddons.py /home/odoo/instance/extra_addons", "", nil); err != nil {
if err := RunAndLogCmdAs("python /home/odoo/getaddons.py /home/odoo/instance/extra_addons", "", nil); err != nil {
return err
}
return nil
Expand Down

0 comments on commit 1f12ebf

Please sign in to comment.