Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -316,7 +316,7 @@ def load_data():
|
|
316 |
timestamp=str(datetime.datetime.now())
|
317 |
filename=f_ist[0].split("/")[1].split(".json")[0]
|
318 |
print (filename)
|
319 |
-
filename = filename.replace("--"," ").replace("-"[
|
320 |
print (filename)
|
321 |
yield lod,[(None,f'Source is current as of:\n{timename} UTC\n\nThe current Date and Time is:\n{timestamp} UTC')]
|
322 |
|
|
|
316 |
timestamp=str(datetime.datetime.now())
|
317 |
filename=f_ist[0].split("/")[1].split(".json")[0]
|
318 |
print (filename)
|
319 |
+
filename = filename.replace("--"," ").replace("-"[3],":").replace("-"[3],":").replace("-"[3],".")
|
320 |
print (filename)
|
321 |
yield lod,[(None,f'Source is current as of:\n{timename} UTC\n\nThe current Date and Time is:\n{timestamp} UTC')]
|
322 |
|