Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
west-public
westpy
Commits
d320e4c2
Commit
d320e4c2
authored
Sep 19, 2018
by
Marco Govoni
Browse files
Exception needed str
parent
3c39b2c5
Changes
1
Show whitespace changes
Inline
Side-by-side
westpy/session.py
View file @
d320e4c2
...
...
@@ -154,7 +154,7 @@ class Session(object):
with
open
(
outputFile
,
"w"
)
as
file
:
file
.
write
(
str
(
output_data
))
except
Exception
as
e
:
print
(
"Session Expired! Invalid Request sent, Please recreate session and recheck your input.
\n
"
+
e
)
print
(
"Session Expired! Invalid Request sent, Please recreate session and recheck your input.
\n
"
+
str
(
e
)
)
return
None
else
:
raise
ValueError
(
"Invalid executable name"
)
...
...
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