fix: function missing arg

This commit is contained in:
starnakin 2023-05-17 11:14:23 +02:00
parent 61f535fce4
commit ac198c9cb0

View File

@ -80,7 +80,7 @@ def sites_editor(database: Database):
def sites_navigator(database: Database): def sites_navigator(database: Database):
nb_site = database.get_sites_table_len() nb_site = database.get_sites_table_len()
if (nb_site == 0): if (nb_site == 0):
add_site() add_site(database)
nb_site = 1 nb_site = 1
last_site = database.get_last_site() last_site = database.get_last_site()
if (last_site != None): if (last_site != None):