code: def calc_regenerated(self, lastvotetime):
          ''' Uses math formula to calculate the amount
          of steem power that would have been regenerated
          given a certain datetime object
          '''
          delta = datetime.utcnow() - datetime.strptime(lastvotetime,'%Y-%m-%dT%H:%M:%S')
          td = delta.days
          ts = delta.seconds
          tt = (td * 86400) + ts
          return tt * 10000 / 86400 / f calc_regenerated(self, lastvotetime):
          ''' Uses math formula to calculate the amount
          of steem power that would have been regenerated
          given a certain datetime object
          '''
          delta = datetime.utcnow() - datetime.strptime(lastvotetime,'%Y-%m-%dT%H:%M:%S')
          td = delta.days
          ts = delta.seconds
          tt = (td * 86400) + ts
          return tt * 10000 / 86400 / 5
docs: Uses math formula to calculate the amount
          of steem power that would have been regenerated
          given a certain datetime object