summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--profile.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/profile.py b/profile.py
index e4d772b..38853a7 100644
--- a/profile.py
+++ b/profile.py
@@ -115,8 +115,13 @@ class TinderProfile(object):
while bio[-1] == '\n' or bio[-1] == ' ':
bio = bio[:-1]
- desc += '\n\n'
- desc += ' ' + bio
+ if len(bio) == 0:
+ bio = None
+ break
+
+ if bio:
+ desc += '\n\n'
+ desc += ' ' + bio
return desc