Skip to content

Commit

Permalink
fix linea breaks in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsean committed Oct 17, 2023
1 parent c8f1823 commit c5bd5a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions andes_migrate/trait_mollusque.py
Original file line number Diff line number Diff line change
Expand Up @@ -915,12 +915,12 @@ def get_rem_trait_moll(self) -> str | None:
WHERE shared_models_set.id={self._get_current_row_pk()};"
result = self.andes_db.execute_query(query)
self._assert_one(result)
to_return = result[0][0]
to_return = str(result[0][0])

# need to remove line breaks
# need to remove line breaks and carriage-returns
# only because it currupts de .dat files,
to_return = to_return.replace('\n', ' ')

to_return = to_return.replace('\r', ' ')
return to_return

@validate_int(not_null=False)
Expand Down

0 comments on commit c5bd5a9

Please sign in to comment.