Skip to content

Commit

Permalink
Update target.py
Browse files Browse the repository at this point in the history
  • Loading branch information
elg committed Oct 9, 2019
1 parent e2ddf62 commit 936ae5b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions passhportd/app/models_mod/target.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,8 +432,7 @@ def dayssinceconnection(self):
today = date.today()
numberofdays = today - date
return int(numberofdays.days)
else:
return int(-1)
return int(-1)


def generatepass(self):
Expand Down Expand Up @@ -489,5 +488,3 @@ def changepass(self, date):
app.logger.error('ERROR: -> ' + e.message)
app.logger.error("Error changing password on " + self.show_name())
return "Password unchanged"


0 comments on commit 936ae5b

Please sign in to comment.