Skip to content

Commit

Permalink
fix: flex-linux-setup import package
Browse files Browse the repository at this point in the history
  • Loading branch information
devrimyatar committed Feb 28, 2022
1 parent 32b4f56 commit d97258a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flex-linux-setup/flex_linux_setup/flex_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@

try:
import jans_setup
sys.path.append(jans_setup.__path__[0])
path_ = list(jans_setup.__path__)
sys.path.append(path_[0])
except ModuleNotFoundError:
if os.path.exists(os.path.join(__STATIC_SETUP_DIR__, 'setup_app')):
sys.path.append(__STATIC_SETUP_DIR__)
Expand Down

0 comments on commit d97258a

Please sign in to comment.