Projects STRLCPY DonPAPI Commits d370f6f2
🤬
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■ ■
    database.py
    skipped 294 lines
    295 295   for info in [name,value]:
    296 296   data += f"""<TD {special_style} ><A title="{info}"> {str(info)[:48]} </A></TD>"""
    297 297   for info in [expires_utc]: #Formule a change si on intègre des cookies venant d'autre chose que chrome
    298  - if type == "browser-chrome" :
    299  - data += f"""<TD {special_style} ><A title="{info}"> {(datetime(1601, 1, 1) + timedelta(microseconds=info)).strftime('%b %d %Y %H:%M:%S')} </A></TD>"""
    300  - else:
    301  - data += f"""<TD {special_style} ><A title="{info}"> {(datetime.fromtimestamp(info)).strftime('%b %d %Y %H:%M:%S')} </A></TD>"""
     298 + try:
     299 + if type == "browser-chrome" :
     300 + data += f"""<TD {special_style} ><A title="{info}"> {(datetime(1601, 1, 1) + timedelta(microseconds=info)).strftime('%b %d %Y %H:%M:%S')} </A></TD>"""
     301 + else:
     302 + data += f"""<TD {special_style} ><A title="{info}"> {(datetime.fromtimestamp(info)).strftime('%b %d %Y %H:%M:%S')} </A></TD>"""
     303 + except:
     304 + data += f"""<TD {special_style} ><A title="{info}"> {info} </A></TD>"""
    302 305   
    303 306   # check if info contains a URL
    304 307   if 'http:' in target or 'https:' in target:
    skipped 1425 lines
Please wait...
Page is in error, reload to recover