View Single Post
Old 10-23-2010, 09:17 PM   #4
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 9,675
Karma: 45164814
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I found that:
Code:
if 'calibre' in sys.modules:
   inCalibre = True
else:
   inCalibre = False
works rather nicely.
DiapDealer is online now   Reply With Quote