Ignore:
Timestamp:
27 Jan 2019, 22:31:46 (6 years ago)
Author:
Henrik Bettermann
Message:

Bugfix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/hostels/hostel.py

    r13533 r15305  
    265265        jetzt = datetime.utcnow()
    266266        days_ago = getattr(jetzt - bedticket.booking_date, 'days')
    267         if days_ago > n:
     267        if days_ago >= n:
    268268            old_owner = self.owner
    269269            self.owner = NOT_OCCUPIED
Note: See TracChangeset for help on using the changeset viewer.