Skip to content

Commit

Permalink
launch.py: Path-detect via openshot_qt init
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdnyc committed Dec 1, 2018
1 parent d94a9fa commit 10e4855
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@
from classes import info
print("Loaded modules from current directory: %s" % info.PATH)
except ImportError:
from openshot_qt.classes import info
sys.path.append(info.PATH)
import openshot_qt
sys.path.append(openshot_qt.OPENSHOT_PATH)
from classes import info
print("Loaded modules from installed directory: %s" % info.PATH)

from classes.app import OpenShotApp
Expand Down

0 comments on commit 10e4855

Please sign in to comment.