Skip to content

Commit

Permalink
fixed bug in GeneralUtilities, left over code
Browse files Browse the repository at this point in the history
  • Loading branch information
jkakavas committed Dec 24, 2013
1 parent 7c97ee1 commit ef34a36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions creepy/utilities/GeneralUtilities.py
Expand Up @@ -10,7 +10,7 @@ def getUserHome():
def reportProblem():
webbrowser.open_new_tab('https://github.com/ilektrojohn/creepy/issues')

def calcDistance(self, lat1, lng1, lat2, lng2):
def calcDistance(lat1, lng1, lat2, lng2):
"""
Calculate the great circle distance between two points
on the earth (specified in decimal degrees)
Expand All @@ -30,7 +30,7 @@ def calcDistance(self, lat1, lng1, lat2, lng2):
meters = 6378100 * c
return meters

def html_escape(self, text):
def html_escape(text):
html_escape_table = {
"&": "&",
'"': """,
Expand Down

0 comments on commit ef34a36

Please sign in to comment.