A (very) little more window$ friendly
authorJean-Michel Nirgal Vourgère <jmv@nirgal.com>
Sun, 27 May 2012 11:06:57 +0000 (11:06 +0000)
committerJean-Michel Nirgal Vourgère <jmv@nirgal.com>
Sun, 27 May 2012 11:06:57 +0000 (11:06 +0000)
members.py

index 7842a3e5e50a8ddb5e3ba81fdd2ffeaf35c7719e..8933084fef2ac6cb539151653d7a52a1fcc7eaa4 100755 (executable)
@@ -353,7 +353,7 @@ if __name__ == '__main__':
         loglevel = logging.INFO
     
     HOME = os.environ['HOME']
-    if options.directory[0] == '/':
+    if options.directory[0] == os.path.sep: # '/' on linux
         BASE_DIRECTORY = options.directory
     else:
         BASE_DIRECTORY = os.path.join(HOME, options.directory)