Skip to content

Commit 50d5464

Browse files
committed
clean code
1 parent cd370e2 commit 50d5464

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

jsoncsv/main.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def jsoncsv():
8585
if args.input is not None:
8686
fin = open(args.input, 'r')
8787
if args.output is not None:
88-
fout = open(args.output, 'w')
88+
fout = open(args.output, 'w')
8989

9090
safe = args.safe
9191
separator = args.separator
@@ -101,7 +101,7 @@ def jsoncsv():
101101
def mkexcel():
102102
parser = load_mkexcel_parse()
103103
args = parser.parse_args()
104-
104+
105105
dumpf = dump_csv
106106

107107
if args.type == 'csv':
@@ -117,6 +117,5 @@ def mkexcel():
117117

118118
if args.output is not None:
119119
fout = open(args.output, 'w')
120-
121120

122121
dumpfile(fin, fout, dumpf)

0 commit comments

Comments
 (0)