Update rapid layout module

This commit is contained in:
SWHL committed 2022-11-20 16:29:26 +08:00
1 parent 1c5664bc11
commit ed07a80f9b
1 file changed
+1 -2
+1 -2
View File
@@ -12,8 +12,7 @@ def get_latest_version(package_name):
output = output.stdout.decode('utf-8')
if output:
output = list(filter(lambda x: len(x) > 0, output.split('\n')))
latest_version = output[0].split(' ')[-1][1:-1]
return latest_version
return output[0].split(' ')[-1][1:-1]
return None