Skip to content

Commit 248f294

Browse files
committed
Don't redefine 'min'
1 parent 20adb4a commit 248f294

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/classes/app.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -171,22 +171,22 @@ def check_libopenshot_version(self, info, openshot):
171171
"""Detect minimum libopenshot version"""
172172
_ = self._tr
173173
ver = openshot.OPENSHOT_VERSION_FULL
174-
min = info.MINIMUM_LIBOPENSHOT_VERSION
175-
if ver >= min:
174+
min_ver = info.MINIMUM_LIBOPENSHOT_VERSION
175+
if ver >= min_ver:
176176
return True
177177

178178
self.errors.append(StartupError(
179179
_("Wrong Version of libopenshot Detected"),
180180
_("<b>Version %(minimum_version)s is required</b>, "
181181
"but %(current_version)s was detected. "
182182
"Please update libopenshot or download our latest installer.") % {
183-
"minimum_version": min,
183+
"minimum_version": min_ver,
184184
"current_version": ver,
185185
},
186186
level="error",
187187
))
188188
raise RuntimeError(
189-
"libopenshot version {} found, minimum is {}".format(ver, min))
189+
"libopenshot version {} found, minimum is {}".format(ver, min_ver))
190190

191191
def gui(self):
192192
from classes import language, ui_util, logger_libopenshot

0 commit comments

Comments
 (0)