2/9
This commit is contained in:
parent
475b849049
commit
12a559ad24
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
# karxi: Now that Homestuck is over, this might be removed.
|
||||
# Even if it isn't, it needs cleanup; the code is unpleasant.
|
||||
|
||||
from libs import feedparser
|
||||
import feedparser
|
||||
import pickle
|
||||
import os
|
||||
import sys
|
||||
|
|
|
@ -353,7 +353,7 @@ def updateExtract(url, extension):
|
|||
extension = ".zip"
|
||||
else:
|
||||
try:
|
||||
from libs import magic # :O I'M IMPORTING /MAGIC/!! HOLY SHIT!
|
||||
import magic # :O I'M IMPORTING /MAGIC/!! HOLY SHIT!
|
||||
mime = magic.from_file(fn, mime=True)
|
||||
if mime == 'application/octet-stream':
|
||||
extension = ".exe"
|
||||
|
|
Loading…
Reference in a new issue