Skip to content

Commit

Permalink
Fix IndentationError
Browse files Browse the repository at this point in the history
Whoops?
  • Loading branch information
DeckardKane committed Jan 23, 2016
1 parent 1746b1a commit 98ad2ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion attendance-website/attendanceapp/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def makeNewStudent(ID):
html = requests.post("https://palo-alto.edu/Forgot/Reset.cfm",data={"username":str(ID)}).text
name = re.search(r'<input name="name" type="hidden" label="name" value="(.*?)"',html).group(1)
Student(name=name,studentID=ID,subteam=Subteam.objects.get(name="Unknown")).save()
return True
return True
except:
return False

Expand Down

0 comments on commit 98ad2ff

Please sign in to comment.