changeset 30:49436fc230eb

do not assume absolute paths
author Dan Stowell <danstowell@users.sourceforge.net>
date Wed, 13 Feb 2013 19:21:49 +0000
parents 372ee94cc82e
children
files smacpy.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/smacpy.py	Wed Feb 13 16:46:01 2013 +0000
+++ b/smacpy.py	Wed Feb 13 19:21:49 2013 +0000
@@ -187,7 +187,7 @@
 	# OK so let's go
 	outlist = file(args['outlist'], 'wb')
 	if verbose: print("TRAINING")
-	model = Smacpy('/', trainlist)
+	model = Smacpy('', trainlist)
 	if verbose: print("TESTING")
 	for wavpath in testlist:
 		result = model.classify(wavpath)