Skip to content

Commit

Permalink
Fix booking duration type
Browse files Browse the repository at this point in the history
  • Loading branch information
folix-01 committed Oct 31, 2023
1 parent 5ffc526 commit 354c4cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ def get_booking_type_duration(self, booking_type):
return int(booking_type.duration) * 60

if type(booking_type) is str:
return self.booking_type_durations.get(booking_type, 1)
return int(self.booking_type_durations.get(booking_type, 1))

# XXX: se il booking_type non esiste, ritorna 1 minuto, è corretto ????
return 1
Expand Down

0 comments on commit 354c4cb

Please sign in to comment.