Skip to content
Snippets Groups Projects
Commit 1ad81756 authored by Julien (jvoisin) Voisin's avatar Julien (jvoisin) Voisin
Browse files

Fix the ci

parent 6c19e43e
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,10 @@ def show_meta(filename:str):
return
print("[+] Metadata for %s:" % filename)
for k,v in p.get_meta().items():
print(" %s: %s" % (k, v))
try: # FIXME this is ugly.
print(" %s: %s" % (k, v))
except UnicodeEncodeError:
print(" %s: harmful content" % k)
def clean_meta(filename:str):
if not __check_file(filename, os.R_OK|os.W_OK):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment