aboutsummaryrefslogtreecommitdiffstats
path: root/hommaexceli_py/sheets_client.py
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2021-02-12 14:58:25 +0200
committerJan Tuomi <jans.tuomi@gmail.com>2021-02-12 14:58:25 +0200
commit99c8b7c679616a22274b1ce6abcc57e404a1a3a1 (patch)
tree32fe0f32c2ac948bc16c6212dbc918efdbfd1086 /hommaexceli_py/sheets_client.py
parent6d69d7f19c3014318734e618baff5ba958fe2344 (diff)
Send actual sheets data as message
Diffstat (limited to 'hommaexceli_py/sheets_client.py')
-rw-r--r--hommaexceli_py/sheets_client.py3
1 files changed, 3 insertions, 0 deletions
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"]