Skip to content

Commit

Permalink
Actualización versiones
Browse files Browse the repository at this point in the history
  • Loading branch information
mouredev committed Aug 15, 2024
1 parent f563ed8 commit c797a2c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
3 changes: 2 additions & 1 deletion link_bio/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
.env
.venv/
.web
__pycache__/
__pycache__/
assets/external/
2 changes: 1 addition & 1 deletion link_bio/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Web de links de MoureDev

[![Python](https://img.shields.io/badge/Python-3.11+-yellow?style=for-the-badge&logo=python&logoColor=white&labelColor=101010)](https://python.org)
[![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)
[![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)

## 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/)"

Expand Down
4 changes: 2 additions & 2 deletions link_bio/link_bio/state/PageState.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ class PageState(rx.State):
async def check_live(self):
self.live_status = await live(USER)

def check_schedule(self):
async def check_schedule(self):
if self.timezone == "":
return rx.call_script(
utils.LOCAL_TIMEZONE_SCRIPT,
PageState.update_timezone
)
else:
self.update_timezone(self.timezone)
await self.update_timezone(self.timezone)

async def update_timezone(self, timezone: str):
self.timezone = timezone
Expand Down
4 changes: 2 additions & 2 deletions link_bio/link_bio/utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from datetime import datetime, timedelta, timezone
import pytz
import reflex as rx
import pytz
from datetime import datetime, timedelta

# Común

Expand Down
6 changes: 3 additions & 3 deletions link_bio/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pip==24.1.2
reflex==0.4.5
pip==24.2
reflex==0.5.9
python-dotenv==1.0.1
supabase==2.3.5
configcat-client==9.0.2
configcat-client==9.0.4
pytz==2024.1

0 comments on commit c797a2c

Please sign in to comment.