home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2011 January / maximum-cd-2011-01.iso / DiscContents / calibre-0.7.26.msi / file_1434 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-10-31  |  586 b   |  14 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. __license__ = 'GPL v3'
  5. __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
  6.  
  7. def db(path = None):
  8.     LibraryDatabase2 = LibraryDatabase2
  9.     import calibre.library.database2
  10.     prefs = prefs
  11.     import calibre.utils.config
  12.     return None(LibraryDatabase2 if path else prefs['library_path'])
  13.  
  14.