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
Open sidebar
limbra
limbra
Commits
181fccfd
Commit
181fccfd
authored
Sep 09, 2014
by
LE GAC Renaud
Browse files
Bug fixed when loading talk with an invalid conference.
parent
cdfcf28a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
modules/harvest_tools.py
modules/harvest_tools.py
+5
-3
No files found.
modules/harvest_tools.py
View file @
181fccfd
...
...
@@ -1632,8 +1632,8 @@ class Proceedings(PublicationsTool):
# conference is either a Record or and error msg
if
isinstance
(
conference
,
(
str
,
unicode
)):
msg
=
conference
if
(
isinstance
(
msg
,
unicode
)
)
:
msg
=
conference
.
encode
(
'utf-8'
)
if
isinstance
(
msg
,
unicode
):
msg
=
msg
.
encode
(
'utf-8'
)
self
.
logs
[
-
1
].
reject
(
msg
)
return
0
...
...
@@ -1953,7 +1953,9 @@ class Talks(PublicationsTool):
# conference is either a Record or and error msg
if
isinstance
(
conference
,
(
str
,
unicode
)):
msg
=
conference
.
encode
(
'utf-8'
)
msg
=
conference
if
isinstance
(
msg
,
unicode
):
msg
=
msg
.
encode
(
'utf-8'
)
self
.
logs
[
-
1
].
reject
(
msg
)
return
0
...
...
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