Skip to content
Snippets Groups Projects
Commit 57f8e7a7 authored by Erik Reid's avatar Erik Reid
Browse files

pep8

parent 5be7e0aa
No related branches found
No related tags found
No related merge requests found
......@@ -9,13 +9,15 @@ COMMUNITY_STRING = '0pBiFbD'
def write_row_csv(columns, header=False):
print(','.join(columns))
if header:
columns = [' '] + columns
print(','.join(columns))
def write_row_md(columns, header=False):
delimiter = '||' if header else '|'
if header:
columns = [' '] + columns
columns = [' '] + columns
print(delimiter + delimiter.join(columns) + delimiter)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment