eric6/UI/Previewers/PreviewerHTML.py

changeset 7836
2f0d208b8137
parent 7785
9978016560ec
child 7850
e64b178499da
child 7923
91e843545d9a
equal deleted inserted replaced
7835:0835ed67714b 7836:2f0d208b8137
497 incFile = "" 497 incFile = ""
498 if os.path.exists(incFile): 498 if os.path.exists(incFile):
499 try: 499 try:
500 with open(incFile, "r") as f: 500 with open(incFile, "r") as f:
501 incTxt = f.read() 501 incTxt = f.read()
502 except (IOError, OSError): 502 except OSError:
503 # remove SSI include 503 # remove SSI include
504 incTxt = "" 504 incTxt = ""
505 else: 505 else:
506 # remove SSI include 506 # remove SSI include
507 incTxt = "" 507 incTxt = ""

eric ide

mercurial