From dc093df2766d545405b83c8f3f76bb291e4c888c Mon Sep 17 00:00:00 2001 From: Matthias Klumpp Date: Sat, 12 Aug 2017 18:13:24 -0400 Subject: [PATCH] trivial: typo --- .../var/lib/pureos-oem/install-pureos-oem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/includes.chroot.oem/var/lib/pureos-oem/install-pureos-oem.py b/config/includes.chroot.oem/var/lib/pureos-oem/install-pureos-oem.py index b4a5a58..033c9f9 100755 --- a/config/includes.chroot.oem/var/lib/pureos-oem/install-pureos-oem.py +++ b/config/includes.chroot.oem/var/lib/pureos-oem/install-pureos-oem.py @@ -273,7 +273,7 @@ if __name__ == '__main__': print('Do you really want to continue installing the OEM image?') run_oem = input('/!\ THIS WILL ERASE THE CONTENTS OF ALL DISKS FOUND IN THIS DEVICE [Y/n]') - if run_oem.strip.lower() != 'y' and run_oem.strip(): + if run_oem.strip().lower() != 'y' and run_oem.strip(): print('Installation cancelled. Rebooting.') check_call(['systemctl', 'reboot']) sys.exit(0)