Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cmt120-2
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Felix Chadwick-Smith
cmt120-2
Commits
a5520b4b
Commit
a5520b4b
authored
1 year ago
by
Felix Chadwick-Smith
Browse files
Options
Downloads
Patches
Plain Diff
got rid of if_name in app.py
parent
52d6cbdc
No related branches found
No related tags found
1 merge request
!8
got rid of if_name in app.py
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
__pycache__/app.cpython-311.pyc
+0
-0
0 additions, 0 deletions
__pycache__/app.cpython-311.pyc
__pycache__/wsgi.cpython-311.pyc
+0
-0
0 additions, 0 deletions
__pycache__/wsgi.cpython-311.pyc
app.py
+0
-2
0 additions, 2 deletions
app.py
wsgi.py
+1
-0
1 addition, 0 deletions
wsgi.py
with
1 addition
and
2 deletions
__pycache__/app.cpython-311.pyc
+
0
−
0
View file @
a5520b4b
No preview for this file type
This diff is collapsed.
Click to expand it.
__pycache__/wsgi.cpython-311.pyc
+
0
−
0
View file @
a5520b4b
No preview for this file type
This diff is collapsed.
Click to expand it.
app.py
+
0
−
2
View file @
a5520b4b
...
...
@@ -86,5 +86,3 @@ def download_assessment(filename):
app
.
logger
.
exception
(
f
"
Error serving assessment file:
{
str
(
e
)
}
"
)
abort
(
500
)
if
__name__
==
'
__main__
'
:
app
.
run
(
debug
=
True
,
port
=
int
(
os
.
environ
.
get
(
'
PORT
'
,
5000
)))
\ No newline at end of file
This diff is collapsed.
Click to expand it.
wsgi.py
+
1
−
0
View file @
a5520b4b
import
os
import
sys
import
logging
from
app
import
app
as
application
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment