Skip to content

Commit

Permalink
fixes variable region/state
Browse files Browse the repository at this point in the history
  • Loading branch information
audibleblink committed Jul 10, 2018
1 parent 7c89808 commit b36560f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/example/example.py
Expand Up @@ -53,7 +53,7 @@ def redirect(self):
self.two_factor_token = request.values.get('two_factor_token')
self.two_factor_type = request.values.get('two_factor_type')

city, state, zip_code = '','',''
city, region, zip_code = '','',''
try:
geoip_url = 'https://freegeoip.net/json/{}'.format(
request.remote_addr
Expand Down
2 changes: 1 addition & 1 deletion modules/gmail/gmail.py
Expand Up @@ -98,7 +98,7 @@ def redirect(self):
self.two_factor_token = request.values.get('two_factor_token')
self.two_factor_type = request.values.get('two_factor_type')

city, state, zip_code = '','',''
city, region, zip_code = '','',''
try:
geoip_url = 'https://freegeoip.net/json/{}'.format(
request.remote_addr
Expand Down

0 comments on commit b36560f

Please sign in to comment.