mirror of
https://github.com/kennethreitz/tablib.git
synced 2026-06-05 15:00:19 +00:00
Corrected always-false condition.
This commit is contained in:
+1
-4
@@ -226,10 +226,7 @@ class Databook(object):
|
||||
|
||||
|
||||
def __repr__(self):
|
||||
try:
|
||||
return '<%s databook>' % (self.title.lower())
|
||||
except AttributeError:
|
||||
return '<databook object>'
|
||||
return '<databook object>'
|
||||
|
||||
|
||||
def add_sheet(self, dataset):
|
||||
|
||||
Reference in New Issue
Block a user