def decouple(prefix):
 dynamic.decouple(prefix)
 from calibre.gui2.widgets import history
 history.decouple(prefix)

def decouple ( prefix ) : dynamic . decouple ( prefix ) from calibre . gui2 . widgets import history history . decouple ( prefix )
ensure that config files used by utility code are not the same as those used by the main calibre gui .