Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Docker-in-Docker (DinD) capabilities of public runners deactivated.
More info
Open sidebar
limbra
limbra
Commits
9fb6bd0e
Commit
9fb6bd0e
authored
Nov 12, 2019
by
LE GAC Renaud
Browse files
Update views/tex2pdf.html
parent
fb2de9ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
views/tex2pdf.html
views/tex2pdf.html
+2
-2
No files found.
views/tex2pdf.html
View file @
9fb6bd0e
...
...
@@ -24,7 +24,7 @@
cwd = os.getcwd()
os.chdir('/tmp')
fi = open(ftex, 'w
b
')
fi = open(ftex, 'w')
fi.write(response.body.getvalue())
fi.close()
...
...
@@ -60,6 +60,6 @@
response.headers['Content-Type']='application/pdf'
response.body = io.StringIO()
s64 = base64.b64encode(spdf)
s64 = base64.b64encode(spdf)
.decode("utf-8")
response.write(s64, escape=False)
}}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment