From 8c1371f7e387ada5a990370f66784d0c2325f34e Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Wed, 27 May 2015 17:57:29 +0200 Subject: [PATCH] fix new path --- telemeta/management/commands/telemeta-import-corpus-from-dir.py | 1 + 1 file changed, 1 insertion(+) diff --git a/telemeta/management/commands/telemeta-import-corpus-from-dir.py b/telemeta/management/commands/telemeta-import-corpus-from-dir.py index 23f8336b..53bc8535 100644 --- a/telemeta/management/commands/telemeta-import-corpus-from-dir.py +++ b/telemeta/management/commands/telemeta-import-corpus-from-dir.py @@ -148,6 +148,7 @@ class Command(BaseCommand): os.rename(path, new_media_path) media_file = new_media_file print 'renaming: ' + media_file + path = new_media_path media_name = os.path.splitext(media_file)[0] media_ext = os.path.splitext(media_file)[1][1:] -- 2.39.5