fixed wrong function call in change sheet, again

This commit is contained in:
TanguyPcFixe 2026-07-29 10:07:28 +02:00
parent 30e403a14b
commit 5081b29333

View File

@ -210,7 +210,7 @@ class IdaCogs(commands.Cog):
print("deleted command.last file content") 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. # 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.session, self.gsheetToken, "sheet"),).split("|") name, url = (await helpers.getFromSheet(self.session, self.gsheetToken, "sheet")).split("|")
with open("station.name", 'w') as f: with open("station.name", 'w') as f:
f.write(name) f.write(name)