Fix running apps

This commit is contained in:
Kyle Robbertze 2020-01-22 13:54:04 +02:00
parent e8a0783139
commit 5923dee839
6 changed files with 3 additions and 63 deletions

View file

@ -15,9 +15,6 @@ import re
from configobj import ConfigObj
from poster.encode import multipart_encode
from poster.streaminghttp import register_openers
from subprocess import Popen
from subprocess import PIPE
from threading import Thread
@ -127,9 +124,6 @@ class ShowRecorder(Thread):
filename = os.path.split(filepath)[1]
# Register the streaming http handlers with urllib2
register_openers()
# files is what requests actually expects
files = {'file': open(filepath, "rb"), 'name': filename, 'show_instance': self.show_instance}