Removed usage of deprecated time.clock()

This commit is contained in:
Bonta-kun
2019-10-16 08:20:28 +02:00
parent fe6a032f09
commit ce19713209
3 changed files with 6 additions and 6 deletions

View File

@@ -7,7 +7,7 @@ from Rom import LocalRom, Sprite, apply_rom_settings
def adjust(args):
start = time.clock()
start = time.process_time()
logger = logging.getLogger('')
logger.info('Patching ROM.')
@@ -31,6 +31,6 @@ def adjust(args):
rom.write_to_file(output_path('%s.sfc' % outfilebase))
logger.info('Done. Enjoy.')
logger.debug('Total Time: %s', time.clock() - start)
logger.debug('Total Time: %s', time.process_time() - start)
return args