Mercurial > libervia-desktop-kivy
changeset 77:bc170ccca744
core: added forgotten platfom check in on_stop
| author | Goffi <goffi@goffi.org> |
|---|---|
| date | Thu, 22 Dec 2016 18:24:24 +0100 |
| parents | a766c278b640 |
| children | 46d962910801 |
| files | src/cagou/core/cagou_main.py |
| diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cagou/core/cagou_main.py Tue Dec 20 21:11:35 2016 +0100 +++ b/src/cagou/core/cagou_main.py Thu Dec 22 18:24:24 2016 +0100 @@ -250,9 +250,10 @@ self.cagou_status[0] = 'R' def on_stop(self): - self.cagou_status[0] = 'S' - self.cagou_status.flush() - self.cagou_status_fd.close() + if sys.platform == "android": + self.cagou_status[0] = 'S' + self.cagou_status.flush() + self.cagou_status_fd.close() class Cagou(QuickApp):
