Skip to content

Commit

Permalink
keep trying
Browse files Browse the repository at this point in the history
  • Loading branch information
jkiviluo committed Nov 27, 2024
1 parent bf57239 commit b8fee49
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
1 change: 1 addition & 0 deletions .github/workflows/toolbox-flextool-bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ jobs:
../../embedded-python/python -m pip install pandas
../../embedded-python/python -m pip install spinedb-api
../../embedded-python/python -m pip install setuptools
../../embedded-python/python -m pip list -v
cd flextool
../../../embedded-python/python -m pip install -e .
../../../embedded-python/python update_flextool.py --skip-git
Expand Down
16 changes: 6 additions & 10 deletions flextool/update_flextool.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,22 @@
from flextool.migrate_database import migrate_database
except ModuleNotFoundError as e:
print(e)
pass
try:
from flextool.initialize_database import migrate_database
from flextool.initialize_database import initialize_database
except ModuleNotFoundError as e:
print(e)
pass
try:
from .migrate_database import migrate_database
except ModuleNotFoundError as e:
print(e)
pass
try:
from .initialize_database import migrate_database
except ModuleNotFoundError as e:
print(e)
try:
import migrate_database
except ModuleNotFoundError as e:
print(e)
try:
import migrate_database
from .initialize_database import initialize_database
except ModuleNotFoundError as e:
print(e)
pass


def update_flextool(skip_git):
Expand Down

0 comments on commit b8fee49

Please sign in to comment.