comparison src/service/main.py @ 87:17094a075fd2

core: use C.PLUGIN_EXT to know which plugin extension to use
author Goffi <goffi@goffi.org>
date Sun, 25 Dec 2016 16:41:25 +0100
parents 8e16abcadbb8
children
comparison
equal deleted inserted replaced
86:c711be670ecd 87:17094a075fd2
31 from kivy import utils as kivy_utils 31 from kivy import utils as kivy_utils
32 if kivy_utils.platform == "android": 32 if kivy_utils.platform == "android":
33 # sys.platform is "linux" on android by default 33 # sys.platform is "linux" on android by default
34 # so we change it to allow backend to detect android 34 # so we change it to allow backend to detect android
35 sys.platform = "android" 35 sys.platform = "android"
36 C.PLUGIN_EXT = "pyo"
36 from sat.core import sat_main 37 from sat.core import sat_main
37 from twisted.internet import reactor 38 from twisted.internet import reactor
38 39
39 sat = sat_main.SAT() 40 sat = sat_main.SAT()
40 reactor.run() 41 reactor.run()