an else disappeared somehow
authorDana Jansens <danakj@orodu.net>
Sun, 2 Mar 2008 15:53:09 +0000 (10:53 -0500)
committerDana Jansens <danakj@orodu.net>
Sun, 2 Mar 2008 16:08:57 +0000 (11:08 -0500)
tools/xdg-autostart/xdg-autostart

index 7648d8c..9ea03fd 100755 (executable)
@@ -90,6 +90,7 @@ class AutostartFile:
         if path[0] == '/':
             if match_func(path): return path
             else: return None
         if path[0] == '/':
             if match_func(path): return path
             else: return None
+        else:
             # check relative path
             for dirname in search.split(os.pathsep):
                 if dirname != "":
             # check relative path
             for dirname in search.split(os.pathsep):
                 if dirname != "":