test
This commit is contained in:
parent
87e8426f77
commit
094ae0519f
@ -87,7 +87,6 @@ class Channels():
|
|||||||
|
|
||||||
newchan = 0
|
newchan = 0
|
||||||
chan_scan_start = time.time()
|
chan_scan_start = time.time()
|
||||||
chan_import_time = None
|
|
||||||
for channel_info in channel_dict_list:
|
for channel_info in channel_dict_list:
|
||||||
|
|
||||||
chan_existing = False
|
chan_existing = False
|
||||||
@ -103,10 +102,6 @@ class Channels():
|
|||||||
self.list[channel_id] = channel_obj
|
self.list[channel_id] = channel_obj
|
||||||
newchan += 1
|
newchan += 1
|
||||||
|
|
||||||
if not chan_import_time:
|
|
||||||
chan_import_time = time.time()
|
|
||||||
self.fhdhr.logger.info("Based On first channel import time, estimated time remaining %s" % humanized_time((chan_import_time - chan_scan_start) * len(channel_dict_list)))
|
|
||||||
|
|
||||||
self.fhdhr.logger.info("Channel Import took %s" % humanized_time(time.time() - chan_scan_start))
|
self.fhdhr.logger.info("Channel Import took %s" % humanized_time(time.time() - chan_scan_start))
|
||||||
|
|
||||||
if not newchan:
|
if not newchan:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user