From 5ad4f0bda845793dd2c6804d0a98419f2565eadf Mon Sep 17 00:00:00 2001 From: brent s Date: Sat, 9 Sep 2017 12:26:30 -0400 Subject: [PATCH] someone needs to write an editor that has a hotkey to disable the mouse pasting. it's gonna be a looong day. --- gpg/sksdump.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpg/sksdump.py b/gpg/sksdump.py index e8b6778..24c07b6 100755 --- a/gpg/sksdump.py +++ b/gpg/sksdump.py @@ -94,7 +94,7 @@ def destPrep(): # pass # thisisfine.jpg os.makedirs(nowdir, exist_ok = True) if getpass.getuser() == 'root': - uid = getpwnam(sks['user']).pw_uidFileNotFoundError + uid = getpwnam(sks['user']).pw_uid gid = getgrnam(sks['group']).gr_gid for d in (sks['destdir'], nowdir): # we COULD set it as part of the os.makedirs, but iirc it doesn't set it for existing dirs os.chown(d, uid, gid)