Skip to content

Commit

Permalink
Remove whitespace in blank line in cot
Browse files Browse the repository at this point in the history
  • Loading branch information
1024jp committed Dec 14, 2024
1 parent 23daf8d commit 7b50532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CotEditor/Resources/cot
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def parse_args():
# skip file check if file is directory
if not args.new and os.path.isdir(args.files[0]):
return args

open_mode = 'r'
if args.new and not os.path.exists(args.files[0]):
open_mode = 'w' # overwrite mode to create new file
Expand Down

0 comments on commit 7b50532

Please sign in to comment.