rangement

This commit is contained in:
DonRenando 2015-04-15 17:52:28 +02:00
parent 58240b6a92
commit 9949486db4
8 changed files with 5 additions and 5 deletions

View File

@ -3,5 +3,5 @@ port = 2222
ip = 127.0.0.1 ip = 127.0.0.1
[PSEUDO] [PSEUDO]
name = bob name = Renan

View File

@ -1,11 +1,11 @@
from main import Ui_MainWindow from view.main import Ui_MainWindow
from PyQt4 import QtGui, QtCore from PyQt4 import QtGui, QtCore
from PySide.QtCore import * from PySide.QtCore import *
from PySide.QtGui import * from PySide.QtGui import *
import time, threading, datetime, time, random,re import time, threading, datetime, time, random,re
from socket import * from socket import *
from pmWindow import Ui_Dialog2 from view.pmWindow import Ui_Dialog2
from pmFile import Ui_Dialog3 from view.pmFile import Ui_Dialog3
import configparser import configparser
from threading import * from threading import *
@ -88,7 +88,7 @@ class StreamHandler (Thread):
""" """
print('[Media] Starting media transfer for ' + self.filename) print('[Media] Starting media transfer for ' + self.filename)
f = open(self.filename,"wb") f = open("download/" + self.filename,"wb")
while 1: while 1:
data = self.mconn.recv(1024) data = self.mconn.recv(1024)
if not data: break if not data: break