diff --git a/distribusi.py b/distribusi.py index f409d31..d60ae0b 100755 --- a/distribusi.py +++ b/distribusi.py @@ -24,13 +24,14 @@ else: mime_type = magic.Magic(mime=True) file_types = {'image':'', 'pdf':'', -'text':'{}', 'video':'', 'audio':'','html':'{}'} +'text':'{}', 'video':'', 'audio':''} code_types = ['x-c', 'html'] def dict_by_value(dictionary, value): return(list(dictionary.keys())[list(dictionary.values()).index(value)]) # returns the key for the given value + def div(mime, tag, *values): #name, full_path class_name = values[0].split('.')[0].replace(' ', '_') @@ -93,4 +94,10 @@ for root, dirs, files in os.walk(directory): f.write(html_head) for line in html: f.write(line+'\n') - f.write(html_footer) \ No newline at end of file + f.write(html_footer) + + + +
+ iddqd_doom +\ No newline at end of file