mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
976ac99e58
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
21 lines
675 B
Diff
21 lines
675 B
Diff
diff --git a/flowblade-trunk/flowblade b/flowblade-trunk/flowblade
|
|
index 01f6d092..2cdfcedb 100755
|
|
--- a/flowblade-trunk/flowblade
|
|
+++ b/flowblade-trunk/flowblade
|
|
@@ -58,11 +58,11 @@ sys.path.insert(0, modules_path)
|
|
# Check that we have MLT, missing is fatal.
|
|
try:
|
|
import mlt
|
|
- try:
|
|
- mlt_version = mlt.LIBMLT_VERSION
|
|
- print ("MLT found, version:", mlt_version)
|
|
- except:
|
|
- print ("MLT found but version info not available. MLT probably too old to work reliably...")
|
|
+except:
|
|
+ import mlt7 as mlt
|
|
+
|
|
+try:
|
|
+ mlt_version = mlt.LIBMLT_VERSION
|
|
except Exception as err:
|
|
print ("MLT not found, exiting...")
|
|
print ("ERROR:", err)
|