From 9946bab1a99a43decc18fde033c7e1d7f6279a35 Mon Sep 17 00:00:00 2001 From: Louis Taylor Date: Sun, 18 Aug 2013 17:41:32 +0100 Subject: [PATCH] Don't split cheatpath for no reason --- cheat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cheat b/cheat index 72559f0..29a5add 100755 --- a/cheat +++ b/cheat @@ -21,7 +21,7 @@ if os.path.isdir(user_cheat_dir): # add the cheat files from the directory specified in $CHEATPATH if 'CHEATPATH' in os.environ and os.environ['CHEATPATH']: - path = os.environ['CHEATPATH'].split(os.pathsep) + path = os.environ['CHEATPATH'] if os.path.isdir(path): cheatsheets += [(f, path) for f in os.listdir(path) if '.' not in f]