summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlrike Uhlig <u@451f.org>2015-11-19 17:02:51 +0100
committerUlrike Uhlig <u@451f.org>2015-11-19 17:02:51 +0100
commit4a246700bd966030c3e096e20caf2f5ff5bdc653 (patch)
tree56427b1a4df39ea81d57fdd4c8d61b87c2f3c6b8
parentd90b82b5913612ce77b46d885f102ed63f4bdc14 (diff)
Revert "correctly verify the label of the device that shall be upgraded"
This reverts commit 68cd677df8714e81af9abae3f2907df238571542.
-rwxr-xr-xtails_installer/creator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tails_installer/creator.py b/tails_installer/creator.py
index 42c3e19..cf8f6a7 100755
--- a/tails_installer/creator.py
+++ b/tails_installer/creator.py
@@ -926,7 +926,7 @@ class LinuxTailsInstallerCreator(TailsInstallerCreator):
device = drive
if self.is_partition_GPT(device) and device['fstype'] == 'vfat' \
- and self.label == 'Tails':
+ and device['label'] == 'Tails':
return True
else:
return False