diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2021-02-12 14:58:25 +0200 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2021-02-12 14:58:25 +0200 |
| commit | 99c8b7c679616a22274b1ce6abcc57e404a1a3a1 (patch) | |
| tree | 32fe0f32c2ac948bc16c6212dbc918efdbfd1086 /hommaexceli_py/sheets_client.py | |
| parent | 6d69d7f19c3014318734e618baff5ba958fe2344 (diff) | |
Send actual sheets data as message
Diffstat (limited to 'hommaexceli_py/sheets_client.py')
| -rw-r--r-- | hommaexceli_py/sheets_client.py | 3 |
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"] |
