objdictgen/doc_index/DS301_index.py
changeset 569 ecaac955c16a
parent 408 f85552acc2bf
child 580 2ae92a99ac10
equal deleted inserted replaced
568:84fb13d1b3d2 569:ecaac955c16a
    43                     os.spawnl(os.P_DETACH, readerexepath, "AcroRd32.exe", '"%s"'%os.path.join(cwd, "doc","301_v04000201.pdf"))
    43                     os.spawnl(os.P_DETACH, readerexepath, "AcroRd32.exe", '"%s"'%os.path.join(cwd, "doc","301_v04000201.pdf"))
    44             else:
    44             else:
    45                 os.system("xpdf -remote DS301 %s &"%os.path.join(cwd, "doc","301_v04000201.pdf"))
    45                 os.system("xpdf -remote DS301 %s &"%os.path.join(cwd, "doc","301_v04000201.pdf"))
    46         return True
    46         return True
    47     except:
    47     except:
    48         return """Check if xpdf is correctly installed on your computer"""
    48         if wx.Platform == '__WXMSW__':
    49 	
    49             return """Check if Acrobat Reader is correctly installed on your computer"""
       
    50         else:
       
    51             return """Check if xpdf is correctly installed on your computer"""
       
    52