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/main.py | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'hommaexceli_py/main.py') diff --git a/hommaexceli_py/main.py b/hommaexceli_py/main.py index 46d6acb..9c16ba5 100644 --- a/hommaexceli_py/main.py +++ b/hommaexceli_py/main.py @@ -2,21 +2,10 @@ from dotenv import load_dotenv load_dotenv() -from sheets_client import authenticate_and_fetch_sheets_data from telegram_client import run_telegram def main(): - values = authenticate_and_fetch_sheets_data() - - if not values: - print("No data found.") - else: - print("Toistumisväli, Homma, Viimeksi tehty") - print("===") - for row in values: - print(row) - run_telegram() -- cgit v1.3