OSDN Git Service

portabililty: remove trailing '/' in config path
authorMartin Renold <martinxyz@gmx.ch>
Sat, 22 Jan 2011 19:22:05 +0000 (20:22 +0100)
committerMartin Renold <martinxyz@gmx.ch>
Sat, 22 Jan 2011 19:23:41 +0000 (20:23 +0100)
Doesn't seem to have any function, and with some luck this
might fix a startup crash some versions of Windows during mkdir().

mypaint.py

index eb98025..a961179 100644 (file)
@@ -73,7 +73,7 @@ def get_paths():
     if homepath == '~':
         confpath = join(prefix, 'UserData')
     else:
-        confpath = join(homepath, '.mypaint/')
+        confpath = join(homepath, '.mypaint')
 
     assert isinstance(datapath, unicode)
     assert isinstance(confpath, unicode)