Mercurial > libervia-desktop-kivy
comparison cagou/core/cagou_main.py @ 381:eb3f622d8791
android: create/clean a temporary directory on startup:
directory returned by tempfiles on Android is actually the root directory of the
application, so it is not cleaned. To work around that a `/tmp` directory inside it is now
created, and cleaned on startup if it already exists.
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 04 Feb 2020 20:47:17 +0100 |
parents | 4d660b252487 |
children | 6dacaf81339a |
comparison
equal
deleted
inserted
replaced
380:9d3481663964 | 381:eb3f622d8791 |
---|---|
460 pass | 460 pass |
461 else: | 461 else: |
462 resync() | 462 resync() |
463 self.contact_lists.fill() | 463 self.contact_lists.fill() |
464 | 464 |
465 def getConfig(self, section, name, default=None): | |
466 return config.getConfig(main_config, section, name, default) | |
467 | |
465 def onBridgeConnected(self): | 468 def onBridgeConnected(self): |
466 super(Cagou, self).onBridgeConnected() | 469 super(Cagou, self).onBridgeConnected() |
467 self.registerSignal("otrState", iface="plugin") | 470 self.registerSignal("otrState", iface="plugin") |
468 | 471 |
469 def _bridgeEb(self, failure): | 472 def _bridgeEb(self, failure): |