Skip to content

Commit c797a2c

Browse files
committed
Actualización versiones
1 parent f563ed8 commit c797a2c

File tree

5 files changed

+10
-9
lines changed

5 files changed

+10
-9
lines changed

Diff for: link_bio/.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
.env
44
.venv/
55
.web
6-
__pycache__/
6+
__pycache__/
7+
assets/external/

Diff for: link_bio/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Web de links de MoureDev
22

33
[![Python](https://img.shields.io/badge/Python-3.11+-yellow?style=for-the-badge&logo=python&logoColor=white&labelColor=101010)](https://python.org)
4-
[![FastAPI](https://img.shields.io/badge/Reflex-0.4.5+-5646ED?style=for-the-badge&logo=reflex&logoColor=white&labelColor=101010)](https://fastapi.tiangolo.com)
4+
[![Reflex](https://img.shields.io/badge/Reflex-0.5.9+-5646ED?style=for-the-badge&logo=reflex&logoColor=white&labelColor=101010)](https://fastapi.tiangolo.com)
55

66
## Proyecto desarrollado con [Python](https://www.python.org/) y [Reflex](https://reflex.dev/) que representa un sitio web personal estilo "[link in bio](https://moure.dev/)"
77

Diff for: link_bio/link_bio/state/PageState.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ class PageState(rx.State):
1717
async def check_live(self):
1818
self.live_status = await live(USER)
1919

20-
def check_schedule(self):
20+
async def check_schedule(self):
2121
if self.timezone == "":
2222
return rx.call_script(
2323
utils.LOCAL_TIMEZONE_SCRIPT,
2424
PageState.update_timezone
2525
)
2626
else:
27-
self.update_timezone(self.timezone)
27+
await self.update_timezone(self.timezone)
2828

2929
async def update_timezone(self, timezone: str):
3030
self.timezone = timezone

Diff for: link_bio/link_bio/utils.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
from datetime import datetime, timedelta, timezone
2-
import pytz
31
import reflex as rx
2+
import pytz
3+
from datetime import datetime, timedelta
44

55
# Común
66

Diff for: link_bio/requirements.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
pip==24.1.2
2-
reflex==0.4.5
1+
pip==24.2
2+
reflex==0.5.9
33
python-dotenv==1.0.1
44
supabase==2.3.5
5-
configcat-client==9.0.2
5+
configcat-client==9.0.4
66
pytz==2024.1

0 commit comments

Comments
 (0)