1
0

(trivial) time.clock is deprecated, replace with time.process_time

This commit is contained in:
SomberNight
2019-08-14 02:18:08 +02:00
parent bf7beba60c
commit e62d652f14

View File

@@ -494,7 +494,7 @@ class ElectrumWindow(App):
''' This is the start point of the kivy ui
'''
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(on_key_down=self.on_key_down)
#Window.softinput_mode = 'below_target'