Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
ViaResto-website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Aymeric Chaumont
ViaResto-website
Merge requests
!51
added Deployment section to README
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
added Deployment section to README
update-todo
into
main
Overview
0
Commits
2
Pipelines
4
Changes
2
Merged
added Deployment section to README
Aymeric Chaumont
requested to merge
update-todo
into
main
Jul 21, 2022
Overview
0
Commits
2
Pipelines
4
Changes
2
0
0
Merge request reports
Viewing commit
007926d6
Prev
Next
Show latest version
2 files
+
44
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
007926d6
linting
· 007926d6
Aymeric Chaumont
authored
Jul 21, 2022
backend/db/crud.py
+
1
−
1
View file @ 007926d6
Edit in single-file editor
Open in Web IDE
Show full file
@@ -231,7 +231,7 @@ def get_news(place: str, db: Session):
next_timetable
=
None
for
time_slot
in
opening_hours
:
if
current_date
.
time
()
<
time_slot
.
open_time
:
next_timetable
=
time_slot
.
open_time
next_timetable
=
time_slot
.
open_time
break
if
not
next_timetable
:
closure
=
db
.
query
(
Loading