From 0bb98cd26f11cf06758f94780db6bb18a09a5ca4 Mon Sep 17 00:00:00 2001
From: Chris Pomeroy <chris.pomeroy@hotmail.com>
Date: Fri, 23 Mar 2018 03:07:00 +0000
Subject: [PATCH] Moved key to the correct location

---
 aaxConvert.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/aaxConvert.py b/aaxConvert.py
index 25a8614..c768ef1 100755
--- a/aaxConvert.py
+++ b/aaxConvert.py
@@ -145,11 +145,11 @@
       if r.status_code == 200:
           key = r.text
           recovery = 0
+          return key
       else: 
           print('Checkkey function is down please wait')
           recovery = recovery - 1
           sleep(5)
-    return key
 
 for rfile in glob.glob(args.filename):
     if rfile.find("aax") != -1 and os.path.isfile(rfile):

--
Gitblit v1.10.0