From 8c915f4d80e67e5b71782710078862f33ed8429f Mon Sep 17 00:00:00 2001 From: Rnhmjoj Date: Wed, 3 Dec 2014 19:47:53 +0100 Subject: [PATCH] More python 3 changes --- pirate-get.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pirate-get.py b/pirate-get.py index 730186d..4de64e6 100755 --- a/pirate-get.py +++ b/pirate-get.py @@ -465,7 +465,8 @@ def main(): # New input loop to support different link options while True: try: - l = raw_input("Select link(s) (Type 'h' for more options ['q' to quit]): ") + l = input("Select link(s) (Type 'h' for more options" + "['q' to quit]): ") except KeyboardInterrupt : print("\nCancelled.") exit() @@ -518,7 +519,7 @@ def main(): choices = () break; - if config.get('SaveToFile', 'enabled'): + if config.getboolean('SaveToFile', 'enabled'): # Save to file is enabled fileName = os.path.expanduser( config.get('SaveToFile','directory')