Changelog: https://haproxy-wi.org/changelog.py#4
pull/221/head
Pavel Loginov 2020-03-16 14:27:59 +01:00
parent b3523cb26f
commit a917523d1f
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ do
*)
esac
done
VERSION=$(echo $VERSION | awk -F"-" '{print $1}')
VERSION=$(echo 2.1.3| awk -F"-" '{print $1}')
VERSION_MAJ=$(echo $VERSION | awk -F"." '{print $1"."$2}')
if (( $(awk 'BEGIN {print ("'$VERSION_MAJ'" < "'1.8'")}') )); then

View File

@ -466,7 +466,7 @@ def get_user_role_by_uuid(uuid):
funct.out_error(e)
else:
for user_id in cur.fetchall():
return user_id[0]
return int(user_id[0])
cur.close()
con.close()