mirror of
https://github.com/DYefremov/DemonEditor.git
synced 2025-12-22 08:29:41 +01:00
prevent duplicate for web import
This commit is contained in:
@@ -30,6 +30,7 @@ import concurrent.futures
|
|||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
import time
|
import time
|
||||||
|
from collections import OrderedDict
|
||||||
from itertools import groupby
|
from itertools import groupby
|
||||||
from math import fabs
|
from math import fabs
|
||||||
|
|
||||||
@@ -841,6 +842,7 @@ class ServicesUpdateDialog(UpdateDialog):
|
|||||||
log(f"Getting services error: {e} [{t_names.get(futures[future])}]")
|
log(f"Getting services error: {e} [{t_names.get(futures[future])}]")
|
||||||
|
|
||||||
appender.send("-" * 75 + "\n")
|
appender.send("-" * 75 + "\n")
|
||||||
|
services = OrderedDict({s.fav_id: s for s in services}).values()
|
||||||
appender.send(f"Consumed: {time.time() - start:0.0f}s, {len(services)} services received.")
|
appender.send(f"Consumed: {time.time() - start:0.0f}s, {len(services)} services received.")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user