Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 12, 2024
1 parent 1fcd417 commit 9c0b633
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions qgepqwat2ili/utils/ili2db.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,7 @@ def skip_wwtp_structure_ids_old():

return not_wwtp_structure_ids


# 12.11.2024 to clean up - get_ws_wn_ids kann das auch
def get_cl_re_ids(classname):
"""
Expand Down Expand Up @@ -570,7 +571,7 @@ def remove_from_selection(selected_ids, remove_ids):
"""

for list_item in remove_ids:
#selected_ids = selected_ids.remove(list_item)
# selected_ids = selected_ids.remove(list_item)
selected_ids.remove(list_item)

return selected_ids
Expand All @@ -585,7 +586,7 @@ def add_to_selection(selected_ids, add_ids):
selected_ids = []

for list_item in add_ids:
#selected_ids = selected_ids.append(list_item)
# selected_ids = selected_ids.append(list_item)
selected_ids.append(list_item)

return selected_ids
Expand Down

0 comments on commit 9c0b633

Please sign in to comment.