File tree Expand file tree Collapse file tree 5 files changed +10
-9
lines changed
Expand file tree Collapse file tree 5 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 33.env
44.venv /
55.web
6- __pycache__ /
6+ __pycache__ /
7+ assets /external /
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 1- from datetime import datetime , timedelta , timezone
2- import pytz
31import reflex as rx
2+ import pytz
3+ from datetime import datetime , timedelta
44
55# Común
66
Original file line number Diff line number Diff line change 1- pip == 24.1. 2
2- reflex == 0.4.5
1+ pip == 24.2
2+ reflex == 0.5.9
33python-dotenv == 1.0.1
44supabase == 2.3.5
5- configcat-client == 9.0.2
5+ configcat-client == 9.0.4
66pytz == 2024.1
You can’t perform that action at this time.
0 commit comments