Show More
@@ -60,7 +60,7 b' class ui(object):' | |||
|
60 | 60 | if root is None: |
|
61 | 61 | root = os.path.expanduser('~') |
|
62 | 62 | for name, path in self.configitems("paths"): |
|
63 | if path.find("://") == -1 and not os.path.isabs(path): | |
|
63 | if path and path.find("://") == -1 and not os.path.isabs(path): | |
|
64 | 64 | self.cdata.set("paths", name, os.path.join(root, path)) |
|
65 | 65 | |
|
66 | 66 | def setconfig(self, section, name, val): |
General Comments 0
You need to be logged in to leave comments.
Login now