You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem appears to lie in the following snippet in gen_single.py, in the generate_file_md method:
if skip_and_return:
# Return with 0 exec time and mem usage, and None thumbnail
GalleryScriptResults(script=script, intro=intro, exec_time=0., memory=0., thumb=None)
Does not seem to return actually.
The text was updated successfully, but these errors were encountered:
Simply adding a return statement in front of GalleryScriptResults() with "None thumbnail" as stated is not enough: it makes the call to script_results.thumb.exists() (in the _thumbnail_div method (in backreferences.py) raise the following exception: AttributeError: 'NoneType' object has no attribute 'exists'
Suggestion would be to use the thumbnail pathname resolution process as implemented later in the same generate_file_md method.
Problem appears to lie in the following snippet in
gen_single.py
, in thegenerate_file_md
method:Does not seem to return actually.
The text was updated successfully, but these errors were encountered: