(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
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

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'