summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fingerchange.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/fingerchange.py b/fingerchange.py
index a908398..30936ad 100644
--- a/fingerchange.py
+++ b/fingerchange.py
@@ -84,9 +84,11 @@ def format_user(user, long_output=True):
msg += format_field('reputation', user['reputation'])
if 'location' in user:
msg += format_field('location', user['location'])
+
msg += format_field('profile', format_url(user['link']))
- if 'website_url' in user:
+ if 'website_url' in user and len(user['website_url']) > 0:
msg += format_field('website', format_url(user['website_url']))
+
msg += format_rep_changes(user)
msg += '\n'