Ad
  • Custom User Avatar

    Traceback (most recent call last):
    File "main.py", line 3, in
    compare_bc(generate_bc("mysite.com/pictures/holidays.html", " : "), 'HOME : PICTURES : HOLIDAYS')
    File "/home/codewarrior/setup.py", line 4, in
    compare_bc = lambda result,expected, msg="": Test.assert_equals(result,expected) if (result==expected) else Test.expect(result==expected,"".join(["Expected: ",expected.replace("<","<").replace(">",">")," - instead got: ", result.replace("<","<").replace(">",">")]));
    AttributeError: 'NoneType' object has no attribute 'replace'

    what is the problem?