Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ async def on_ready():
|
|
55 |
#worksheet = gspread_bot.open("levelbot").sheet1
|
56 |
|
57 |
URL_test = "https://docs.google.com/spreadsheets/d/1hQSsIg1Y9WdBF_CdNM1L1rUUREoxKqRTe3_ILo-WK8w/edit#gid=0"
|
58 |
-
csv_url_test =
|
59 |
|
60 |
response = requests.get(csv_url_test)
|
61 |
if response.status_code == 200:
|
|
|
55 |
#worksheet = gspread_bot.open("levelbot").sheet1
|
56 |
|
57 |
URL_test = "https://docs.google.com/spreadsheets/d/1hQSsIg1Y9WdBF_CdNM1L1rUUREoxKqRTe3_ILo-WK8w/edit#gid=0"
|
58 |
+
csv_url_test = URL_test.replace('/edit#gid=', '/export?format=csv&gid=')
|
59 |
|
60 |
response = requests.get(csv_url_test)
|
61 |
if response.status_code == 200:
|