summaryrefslogtreecommitdiff
path: root/appdirs.py
diff options
context:
space:
mode:
authorThéo Segonds <theo.segonds@inria.fr>2015-07-19 23:39:58 +0200
committerThéo Segonds <theo.segonds@inria.fr>2015-07-19 23:39:58 +0200
commit5303508acd0fcea7980457fec11687b7be4ffb34 (patch)
treeb01042247d05918e9fa400814c592714f2a0926b /appdirs.py
parentdbf3ff1b66054d90f99fe21259f0a609b67055af (diff)
downloadappdirs-5303508acd0fcea7980457fec11687b7be4ffb34.tar.gz
Update appdirs.py
Fix typo in a variable name
Diffstat (limited to 'appdirs.py')
-rw-r--r--appdirs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/appdirs.py b/appdirs.py
index 0342a07..3be0f7f 100644
--- a/appdirs.py
+++ b/appdirs.py
@@ -503,7 +503,7 @@ def _get_win_folder_with_jna(csidl_name):
if has_high_char:
buf = array.zeros('c', buf_size)
kernel = win32.Kernel32.INSTANCE
- if kernal.GetShortPathName(dir, buf, buf_size):
+ if kernel.GetShortPathName(dir, buf, buf_size):
dir = jna.Native.toString(buf.tostring()).rstrip("\0")
return dir