comparison service/main.py @ 318:834d5c267219

core: fixed state encoding + PLUGIN_EXT on Android following Python 3 port
author Goffi <goffi@goffi.org>
date Wed, 16 Oct 2019 08:50:47 +0200
parents cd99f70ea592
children 38d763febed6
comparison
equal deleted inserted replaced
317:4b0fa73caad4 318:834d5c267219
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 C.PLUGIN_EXT = "pyc"
37 from sat.core import sat_main 37 from sat.core import sat_main
38 from twisted.internet import reactor 38 from twisted.internet import reactor
39 39
40 sat = sat_main.SAT() 40 sat = sat_main.SAT()
41 reactor.run() 41 reactor.run()