DmitrMakeev commited on
Commit
67d23f2
·
verified ·
1 Parent(s): 456a90c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -7,8 +7,8 @@ import time
7
  import re
8
  import json
9
  import base64
10
-
11
-
12
 
13
  from unidecode import unidecode
14
 
@@ -104,7 +104,7 @@ for db in DATABASES:
104
 
105
  async def display_date():
106
  loop = asyncio.get_running_loop()
107
- end_time = loop.time() + 5.0
108
  while True:
109
  print(datetime.datetime.now())
110
  if (loop.time() + 1.0) >= end_time:
 
7
  import re
8
  import json
9
  import base64
10
+ import asyncio
11
+ import datetime
12
 
13
  from unidecode import unidecode
14
 
 
104
 
105
  async def display_date():
106
  loop = asyncio.get_running_loop()
107
+ end_time = loop.time() + 50.0
108
  while True:
109
  print(datetime.datetime.now())
110
  if (loop.time() + 1.0) >= end_time: