Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Radek Hušek
cups-pdf-postprocess
Commits
a88ed70e
Commit
a88ed70e
authored
Oct 18, 2017
by
Radek Hušek
Browse files
fix a typo
parent
d3d63d5a
Changes
2
Hide whitespace changes
Inline
Side-by-side
cups-pdf-postprocess.conf
View file @
a88ed70e
"enviroment"
: {
"enviro
n
ment"
: {
"DISPLAY"
:
":0"
,
"XAUTHORITY"
:
"/tmp/kde-radek/xauth-1000-_0"
,
"HOME"
:
"/home/radek"
,
...
...
cups-pdf-postprocess.py
View file @
a88ed70e
...
...
@@ -266,7 +266,7 @@ if __name__ == '__main__':
CONFIG
=
ast
.
literal_eval
(
"{
\n
%s
\n
}"
%
config
.
read
())
# env must be fixed before we create Qt stuff
for
var
,
val
in
CONFIG
.
get
(
"enviroment"
,
{}).
items
():
for
var
,
val
in
CONFIG
.
get
(
"enviro
n
ment"
,
{}).
items
():
if
val
is
None
:
del
os
.
environ
[
var
]
else
:
...
...
Write
Preview
Supports
Markdown
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