all repos — dotfiles @ 77dbdc80896ef8138f2db4e9fdcfd4dc34e0a9c4

linux dotfiles

update script/pd

correction commit for the last one
Prithu Goswami prithugoswami524@gmail.com
Sat, 14 Apr 2018 23:51:59 +0530
commit

77dbdc80896ef8138f2db4e9fdcfd4dc34e0a9c4

parent

e493bbf94fac559fd69f6f70ef3fc8de3540ff91

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

jump to
M scripts/pdscripts/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()