X-Git-Url: http://git.kaliko.me/?a=blobdiff_plain;f=sima%2Fcore.py;h=f535a33d486e6e11e577cfffac75877b3ff37144;hb=57621c64288a742232b379b53bfe5fce34959535;hp=08135c0da6e26ae0ecf85895db8b24914548f497;hpb=430de3cb9e2d16915e3c45e6c7b4be17f5b8b82f;p=mpd-sima.git diff --git a/sima/core.py b/sima/core.py index 08135c0..f535a33 100644 --- a/sima/core.py +++ b/sima/core.py @@ -2,7 +2,7 @@ """Core Object dealing with plugins and player client """ -__version__ = '0.12.0.b' +__version__ = '0.12.0pr1' __author__ = 'kaliko jack' __url__ = 'git://git.kaliko.me/sima.git' @@ -27,6 +27,7 @@ class Sima(Daemon): self.enabled = True self.config = conf self.sdb = SimaDB(db_path=conf.get('sima', 'db_file')) + PlayerClient.database = self.sdb self.log = getLogger('sima') self.plugins = list() self.player = self.__get_player() # Player client @@ -114,7 +115,6 @@ class Sima(Daemon): self.log.info('The way is shut, it was made by those who are dead. ' 'And the dead keep it…') self.log.info('bye...') - sys.exit(0) def run(self): """