all repos — py-vite @ 937a9493f40b8830e65a7e83f63797ac4d71e580

the original vite, written in python

style: switch to os.path.join() instead of concat
Anirudh icyph0x@pm.me
Tue, 17 Apr 2018 21:19:44 +0530
commit

937a9493f40b8830e65a7e83f63797ac4d71e580

parent

4749c6b9267600dc2acd86a04611c34b757fc96b

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M vite.pyvite.py

@@ -29,7 +29,7 @@ print(bad('Error: specified path exists.'))

def create_config(path): - with open(path + '/config.py', 'w') as f: + with open(os.path.join(path, 'config.py'), 'w') as f: f.write("""# config.py - Vite's configuration script title = ''