Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tutorial-2016-04-08
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
ubicomplab
tutorial-2016-04-08
Commits
518e7828
Commit
518e7828
authored
8 years ago
by
Elliot Saba
Browse files
Options
Downloads
Patches
Plain Diff
Update 2_file_processing.py
parent
476102ed
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tornado/2_file_processing.py
+3
-0
3 additions, 0 deletions
tornado/2_file_processing.py
with
3 additions
and
0 deletions
tornado/2_file_processing.py
+
3
−
0
View file @
518e7828
...
...
@@ -13,6 +13,9 @@ from tempfile import NamedTemporaryFile
# Special constants that we need defined for everybody
# NOTE: IN AN ACTUAL SERVER, DO NOT SAVE TO /tmp!!!!!
# This is because, by default, /tmp gets cleared on system restart, so when
# Elliot reboots the server after installing security upgrades, all your data
# will go bye-bye.
UPLOADS_DIR
=
'
/tmp/uploads
'
RESULTS_DIR
=
'
/tmp/results
'
os
.
makedirs
(
UPLOADS_DIR
)
...
...
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