Skip to content
Snippets Groups Projects
Commit bd208f95 authored by Emmanuel Viennet's avatar Emmanuel Viennet
Browse files

PE: fix potential bug in pe_print

parent 3bad78be
Branches
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ def pe_print(*a, **cles):
msg = " ".join(a)
print(msg)
else:
lines = getattr(g, "scodoc_pe_log")
lines = getattr(g, "scodoc_pe_log", None)
if lines is None:
lines = pe_start_log()
msg = " ".join(a)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment