Skip to content

Commit

Permalink
keep the Location tag even if unknown so display is more consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
anarcat committed Dec 9, 2014
1 parent 763f707 commit ddd1f4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ip.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def ip(bot, trigger):
try:
response += " | Location: %s" % gi_city.country_name_by_name(query)
except AttributeError:
pass
response += ' | Location: Unknown'

region_data = gi_city.region_by_name(query)
try:
Expand Down

0 comments on commit ddd1f4b

Please sign in to comment.