From 0cd3c94d0c5c47028e868206b571683e821b0678 Mon Sep 17 00:00:00 2001
From: Chris Pomeroy <chris.pomeroy@hotmail.com>
Date: Tue, 08 Aug 2017 18:53:24 +0000
Subject: [PATCH] Changes and learning

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

diff --git a/aaxConvert.py b/aaxConvert.py
index 8234770..01c91bb 100755
--- a/aaxConvert.py
+++ b/aaxConvert.py
@@ -1,6 +1,7 @@
 #!/usr/bin/python
 import argparse
 import os
+import glob
 
 # arguments
 # activation_key, file name, codec(default to mp3)
@@ -21,5 +22,7 @@
 else:
     print act_byte
 
-if os.path.isfile(args.filename):
-    print os.path.abspath(args.filename)
+for rfile in glob.glob(args.filename):
+    if (rfile.find("aax") != -1):
+        if os.path.isfile(rfile):
+            print os.path.abspath(rfile)

--
Gitblit v1.10.0