diff --git a/telegram/openmamba_bot.py b/telegram/openmamba_bot.py index 0027e4a..bcd9213 100755 --- a/telegram/openmamba_bot.py +++ b/telegram/openmamba_bot.py @@ -3,7 +3,7 @@ # # openmamba bot for Telegram # -# Copyright (C) 2016-2017 by Silvan Calarco +# Copyright (C) 2016-2022 by Silvan Calarco # # GPL v3 license @@ -86,7 +86,7 @@ def details(update: Update, context: CallbackContext): 'SELECT id,name,version,release,summary,url,description FROM sources where name="%s"' % (context.args[0])) for row in cursor: response += "%s %s-%s (devel)\n%s\n%s\n\n%s\n\n" % (row[1], row[2], row[3], row[4], row[5], row[6]) - for arch in [ 'x86_64', 'i586', 'arm' ]: + for arch in [ 'x86_64', 'aarch64', 'i586', 'arm' ]: conn1 = sqlite3.connect('/var/webbuild/db/' + rep + '-' + arch + '.db', check_same_thread=False) cursor1 = conn1.cursor() cursor1.execute('SELECT id,name FROM packages where id_source=%s' % (row[0]))