Skip to content

Commit c0059bd

Browse files
committed
Fixing a bug when detecting libopenshot version mismatch. We can't access app.show_errors in the exception handler, since app fails to initialize.
1 parent 899b109 commit c0059bd

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/classes/app.py

-2
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,6 @@ def check_libopenshot_version(self, info, openshot):
185185
},
186186
level="error",
187187
))
188-
raise RuntimeError(
189-
"libopenshot version {} found, minimum is {}".format(ver, min_ver))
190188

191189
def gui(self):
192190
from classes import language, sentry, ui_util, logger_libopenshot

src/launch.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,7 @@ def main():
183183
argv = [sys.argv[0]]
184184
argv.extend(extra_args)
185185
argv.extend(args.remain)
186-
try:
187-
app = OpenShotApp(argv)
188-
except Exception:
189-
app.show_errors()
186+
app = OpenShotApp(argv)
190187

191188
# Setup Qt application details
192189
app.setApplicationName('openshot')

0 commit comments

Comments
 (0)