summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
Diffstat (limited to 'text.py')
-rw-r--r--text.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/text.py b/text.py
index bc930f47d..1a6e5381b 100644
--- a/text.py
+++ b/text.py
@@ -392,12 +392,11 @@ class PartitionWindow:
drives = todo.drives.available ().keys ()
drives.sort ()
todo.ddruid = fsedit(0, drives, fstab)
- dir = todo.ddruid.edit ()
+ (dir, ) = todo.ddruid.edit ()
for partition, mount, fstype, size in todo.ddruid.getFstab ():
todo.addMount(partition, mount, fstype)
-
- return dir
+ return dir
class FormatWindow:
def __call__(self, screen, todo):