- copyright = "%s %s. Licensed to the public under %s verify at %s" % (
- self.date, ORGANIZATION, self.license.uri, self.url)
+ copyright = "%s %s." % (
+ self.date, ORGANIZATION)
+ if self.license:
+ copyright += " Licensed to the public under %s verify at %s" % (
+ self.license.uri, self.url)