Skip to content

Commit 0701c73

Browse files
Remove attributes of the View that won't be used.
1 parent e2a6985 commit 0701c73

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

stage5.3_fuller_application/pycasa/ui/image_folder_view.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ def traits_view(self):
8383
enabled_when="len(model.data) > 0"),
8484
Spring(),
8585
),
86-
resizable=True, height=800
8786
)
8887
return view
8988

@@ -134,7 +133,7 @@ def _all_years_default(self):
134133
def parse_year(x):
135134
return x.split(":")[0] if isinstance(x, str) else "unknown"
136135

137-
self.all_data[YEAR_KEY] = self.all_data['DateTime'].apply(parse_year)
136+
self.all_data[YEAR_KEY] = self.all_data[DATETIME_COL].apply(parse_year)
138137
return sorted(self.all_data[YEAR_KEY].unique().tolist())
139138

140139

0 commit comments

Comments
 (0)