Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eventdisplay
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository 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
gsu
eventdisplay
Commits
d60c3723
Commit
d60c3723
authored
7 years ago
by
Dirk Sarpe
Browse files
Options
Downloads
Patches
Plain Diff
correct path to write website to
parent
3730aeca
Branches
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
event_display.py
+1
-1
1 addition, 1 deletion
event_display.py
with
1 addition
and
1 deletion
event_display.py
+
1
−
1
View file @
d60c3723
...
@@ -49,6 +49,6 @@ this_dir = os.path.dirname(os.path.abspath(__file__))
...
@@ -49,6 +49,6 @@ this_dir = os.path.dirname(os.path.abspath(__file__))
j2_env
=
Environment
(
loader
=
FileSystemLoader
(
this_dir
),
j2_env
=
Environment
(
loader
=
FileSystemLoader
(
this_dir
),
trim_blocks
=
True
)
trim_blocks
=
True
)
output
=
j2_env
.
get_template
(
'
template.html
'
).
render
(
html_list
=
html_list
)
output
=
j2_env
.
get_template
(
'
template.html
'
).
render
(
html_list
=
html_list
)
out_file
=
open
(
"
website/events.html
"
,
"
w
"
)
out_file
=
open
(
this_dir
+
"
/
website/events.html
"
,
"
w
"
)
out_file
.
write
(
output
.
encode
(
"
utf-8
"
))
out_file
.
write
(
output
.
encode
(
"
utf-8
"
))
out_file
.
close
()
out_file
.
close
()
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