update script/pd correction commit for the last one
Prithu Goswami prithugoswami524@gmail.com
Sat, 14 Apr 2018 23:51:59 +0530
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
scripts/pd
→
scripts/pd
@@ -15,7 +15,7 @@ with tempfile.NamedTemporaryFile(suffix='.pdtemp') as temp:
command = "vim {}".format(temp.name) subprocess.run(shlex.split(command)) entry = open(temp.name, 'r').read() - if entry == None: + if entry == '': print("Nothing was entered...") exit()