--> -->
 
 
TypeError
Python 3.8.10: /usr/bin/python3
Fri Jun 2 18:12:06 2023

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home/cryan/secure_html/daily/blogpost.py in <module>
    157 webpage = webpage.replace("#category", categoryheader)
    158 webpage = webpage.replace("#pagenation", pagenation)
=>  159 webpage = webpage.replace("#BlogURL", "https://www.cryan.com/" + weburl)
    160 webpage = webpage.replace("#Blog", maincategory)
    161 webpage = webpage.replace("#About", about)
webpage = '\n<!doctype html>\n<html lang="en">\n <head>\n <... -->\n\n\n </div>\n\n</main>\n\n \n </body>\n</html>\n', webpage.replace = <built-in method replace of str object>, weburl = None

TypeError: can only concatenate str (not "NoneType") to str
      args = ('can only concatenate str (not "NoneType") to str',)
      with_traceback = <built-in method with_traceback of TypeError object>