From 99c8b7c679616a22274b1ce6abcc57e404a1a3a1 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Fri, 12 Feb 2021 14:58:25 +0200 Subject: Send actual sheets data as message --- hommaexceli_py/sheets_client.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hommaexceli_py/sheets_client.py') diff --git a/hommaexceli_py/sheets_client.py b/hommaexceli_py/sheets_client.py index 1dd741c..6ce6a16 100644 --- a/hommaexceli_py/sheets_client.py +++ b/hommaexceli_py/sheets_client.py @@ -14,6 +14,9 @@ class SheetsRow: name: str last_done: str + def __str__(self): + return f"{self.interval}, {self.name}, {self.last_done}" + # If modifying these scopes, delete the file token.pickle. SCOPES = ["https://www.googleapis.com/auth/spreadsheets.readonly"] -- cgit v1.3