Skip to content

Commit

Permalink
Move datetime import on top
Browse files Browse the repository at this point in the history
  • Loading branch information
arjxn-py committed Jul 11, 2024
1 parent b73f547 commit daa09fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ragna/deploy/_ui/left_sidebar.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import panel as pn
import param
from datetime import datetime

from ragna import __version__ as ragna_version

Expand Down Expand Up @@ -59,7 +60,6 @@ def refresh(self):

@pn.depends("refresh_counter", "chats", "current_chat_id", on_init=True)
def __panel__(self):
from datetime import datetime
epoch = datetime(1970, 1, 1)
self.chats.sort(
key=lambda chat: (
Expand Down

0 comments on commit daa09fe

Please sign in to comment.