fixed wrong function call in change sheet

This commit is contained in:
TanguyPcFixe 2026-07-29 10:05:38 +02:00
parent 5d01251072
commit 30e403a14b

View File

@ -210,7 +210,7 @@ class IdaCogs(commands.Cog):
print("deleted command.last file content")
# gets the name and URL from the sheet, then store it in a file so we don't ask the sheet again.
name, url = (await helpers.getFromSheet(self.gsheetToken, "sheet")).split("|")
name, url = (await helpers.getFromSheet(self.session, self.gsheetToken, "sheet"),).split("|")
with open("station.name", 'w') as f:
f.write(name)