Update Flask
This commit is contained in:
Executable → Regular
+1
-1
@@ -2079,7 +2079,7 @@ class ETags(object):
|
||||
return etag in self._strong
|
||||
|
||||
def __nonzero__(self):
|
||||
return bool(self.star_tag or self._strong or self._weak)
|
||||
return bool(self.star_tag or self._strong)
|
||||
|
||||
def __str__(self):
|
||||
return self.to_header()
|
||||
|
||||
Reference in New Issue
Block a user