Fix running apps
This commit is contained in:
parent
e8a0783139
commit
5923dee839
6 changed files with 3 additions and 63 deletions
|
@ -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}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue