Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
hub
ViralHostRangeDB
Commits
c7a1a656
Commit
c7a1a656
authored
Feb 08, 2022
by
Bryan BRANCOTTE
Browse files
show duplicated host in order as they are not overwritten anymore
parent
684d8d7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/viralhostrange/viralhostrangedb/business_process.py
View file @
c7a1a656
...
...
@@ -360,7 +360,7 @@ def __parse_file(file, importation_observer: ImportationObserver = None, sheet_n
start_at
=
id_col
-
1
+
start_at
header_set
=
set
(
header
[
1
:])
if
importation_observer
:
for
header_col
,
h
in
reversed
(
list
(
enumerate
(
header
[
1
:])
))
:
for
header_col
,
h
in
enumerate
(
header
[
1
:]):
try
:
header_set
.
remove
(
h
)
except
KeyError
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment