Skip to content

Commit 871fa85

Browse files
committed
Fixed bug 🐛
1 parent c05dc22 commit 871fa85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DataWrangler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def detect_separations(self, first_line=None):
3636
else:
3737
' '
3838

39-
39+
4040
def detect_col_widths(self, sep=None, num_columns=None, lines=None):
4141
if sep is None:
4242
sep = detect_separations(self)
@@ -200,7 +200,7 @@ def run(self, edit):
200200
# compute the max width of each column
201201
sep = detect_separations(self)
202202
num_columns = detect_num_columns(self, sep)
203-
column_widths = detect_col_widths(sep, num_columns)
203+
column_widths = detect_col_widths(self, sep, num_columns)
204204

205205
# re-format all the columns
206206
format_string = " ".join(("{: >"+str(width)+"}" for width in column_widths))

0 commit comments

Comments
 (0)