[python supervision] Remove deprecated function. (#2662)

* Remove deprecated function.
* remove unused module.
This commit is contained in:
Fabien-B
2021-02-17 18:38:25 +01:00
committed by GitHub
parent c04d7e453b
commit 71a7295a2a
+1 -5
View File
@@ -29,7 +29,6 @@ import xml.etree.ElementTree as Et
import os
import re
import logging
import time
from typing import List, Dict
import shutil
@@ -809,16 +808,13 @@ class Data(object):
# [Data methods] Init data methods
def init_data(self):
init = time.clock()
self.load_cache()
self.load_conf_files()
self.load_sets_and_configs()
self.load_devices()
self.load_sessions_and_programs()
LOGGER.info("All data loaded in : %s seconds.\n",
time.clock() - init)
LOGGER.info("All data loaded.\n")
def load_cache(self):
LOGGER.info("Loading cache...")