mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-10-18 21:57:20 +02:00
encode the cache content in utf8
This commit is contained in:
1 parent
dcabd6697d
commit
e6b3b59a40
1 file changed
+1
-1
@@ -248,7 +248,7 @@ class Anonymous_Github:
|
||||
else:
|
||||
content = blob.content.decode('utf-8')
|
||||
else:
|
||||
content = current_file.decoded_content
|
||||
content = current_file.decoded_content.decode('utf-8')
|
||||
if ".html" in current_file.name \
|
||||
or ".txt" in current_file.name \
|
||||
or ".log" in current_file.name \
|
||||
|
||||
Reference in new issue
Block a user