Changeset de4776c41dd2…
Parent 7b11e4355d7d…
by
Changes to one file · Browse files at de4776c41dd2 Showing diff from parent 7b11e4355d7d Diff from another changeset...
@@ -33,7 +33,10 @@ self.cwd = os.getcwd()
# preconditioning info
- self.dest_path = os.path.abspath(repos and repos[0] or self.cwd)
+ path = os.path.abspath(repos and repos[0] or self.cwd)
+ if not os.path.isdir(path):
+ path = os.path.dirname(path)
+ self.dest_path = path
# layout table
table = gtklib.LayoutTable()
|
Loading...