(trivial) time.clock is deprecated, replace with time.process_time
This commit is contained in:
@@ -494,7 +494,7 @@ class ElectrumWindow(App):
|
|||||||
''' This is the start point of the kivy ui
|
''' This is the start point of the kivy ui
|
||||||
'''
|
'''
|
||||||
import time
|
import time
|
||||||
Logger.info('Time to on_start: {} <<<<<<<<'.format(time.clock()))
|
Logger.info('Time to on_start: {} <<<<<<<<'.format(time.process_time()))
|
||||||
Window.bind(size=self.on_size, on_keyboard=self.on_keyboard)
|
Window.bind(size=self.on_size, on_keyboard=self.on_keyboard)
|
||||||
Window.bind(on_key_down=self.on_key_down)
|
Window.bind(on_key_down=self.on_key_down)
|
||||||
#Window.softinput_mode = 'below_target'
|
#Window.softinput_mode = 'below_target'
|
||||||
|
|||||||
Reference in New Issue
Block a user