|
@ -113,9 +113,9 @@ def generate_metadata(path, context): |
|
|
else: |
|
|
else: |
|
|
file_name = m.replace(context['SITEURL']+'/', '') |
|
|
file_name = m.replace(context['SITEURL']+'/', '') |
|
|
m = os.path.join(output_path, file_name.strip('/')) |
|
|
m = os.path.join(output_path, file_name.strip('/')) |
|
|
print(m) |
|
|
#print(m) |
|
|
if os.path.exists(m): |
|
|
if os.path.exists(m): |
|
|
print(m, 'exists') |
|
|
#print(m, 'exists') |
|
|
media_size = media_size + os.path.getsize(m) |
|
|
media_size = media_size + os.path.getsize(m) |
|
|
|
|
|
|
|
|
current_file = os.path.join(output_path, output_file) |
|
|
current_file = os.path.join(output_path, output_file) |
|
|