remove debug

This commit is contained in:
j 2010-09-18 02:01:34 +02:00
parent 86ecb97a29
commit d43c9abf76

View file

@ -72,15 +72,15 @@ def api_update(request):
volume, created = models.Volume.objects.get_or_create(user=user, name=data['volume'])
all_files = []
for f in data['files']:
print f
#print f
path = f['path']
folder = path.split('/')
name = folder.pop()
if folder and folder[-1] in ('Extras', 'Versions', 'DVDs'):
name = '/'.join([folder.pop(), name])
folder = '/'.join(folder)
print folder
print name
#print folder
#print name
f['folder'] = folder
f['name'] = name
oshash = f['oshash']