Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSAMPERE committed Jun 19, 2019
1 parent c09dfca commit 65b39cc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions modules/metadata_display.py
Expand Up @@ -151,8 +151,7 @@ def show_complete_md(self, md):
ctact.get("contact").get("addressLine2", ""),
ctact.get("contact").get("zipCode", ""),
ctact.get("contact").get("city", ""),
ctact.get("contact").get("country", ""))\
for ctact in sorted(contacts) if ctact.get("role", "NR") == "pointOfContact"]
ctact.get("contact").get("country", "")) for ctact in sorted(contacts) if ctact.get("role", "NR") == "pointOfContact"]
contacts_other_cct = ["<b>{0} - {1}</b> ({2})"
"<br><a href='mailto:{3}' target='_blank'>{3}</a>"
"<br>{4}"
Expand All @@ -168,8 +167,7 @@ def show_complete_md(self, md):
ctact.get("contact").get("addressLine2", ""),
ctact.get("contact").get("zipCode", ""),
ctact.get("contact").get("city", ""),
ctact.get("contact").get("country", ""),)
for ctact in sorted(contacts) if ctact.get("role") != "pointOfContact"]
ctact.get("contact").get("country", "")) for ctact in sorted(contacts) if ctact.get("role") != "pointOfContact"]

# write
self.complete_md.val_ct_pointof.setText("<br><hr><br>".join(contacts_pt_cct))
Expand Down

0 comments on commit 65b39cc

Please sign in to comment.