From 92bf01bd1059934bdf6e742b160682f6e0cb9cb2 Mon Sep 17 00:00:00 2001 From: Rnhmjoj Date: Wed, 3 Dec 2014 20:58:36 +0100 Subject: [PATCH] Remove useless statements --- pirate-get.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pirate-get.py b/pirate-get.py index 7b3f919..8400b02 100755 --- a/pirate-get.py +++ b/pirate-get.py @@ -500,22 +500,17 @@ def main(): "[f]: Get files", "[p] Print search results", "[q] Quit", sep="\n") - continue elif code == 'q': print("User Cancelled.") - exit() + break elif code == 'd': print_descriptions(choices) - continue elif code == 'f': print_fileLists(choices) - continue elif code == 'p': print_search_results() - continue elif not l: print('No links entered!') - continue else: break except Exception as e: