Merge oublié #1
@ -3,6 +3,7 @@ from model.Protocol import *
|
|||||||
import traceback
|
import traceback
|
||||||
import os.path
|
import os.path
|
||||||
|
|
||||||
|
|
||||||
class AppController:
|
class AppController:
|
||||||
def __init__(self, parser):
|
def __init__(self, parser):
|
||||||
self.parser = parser
|
self.parser = parser
|
||||||
@ -41,7 +42,7 @@ class AppController:
|
|||||||
def get_filename_size_from_item(self, item):
|
def get_filename_size_from_item(self, item):
|
||||||
tokens = item.split('!')
|
tokens = item.split('!')
|
||||||
if len(tokens) == 2:
|
if len(tokens) == 2:
|
||||||
return (tokens[0],tokens[1])
|
return (tokens[0], tokens[1])
|
||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
@ -117,7 +118,7 @@ class AppController:
|
|||||||
elif message_id == Protocol.PARSE_REMOVEFILEERROR:
|
elif message_id == Protocol.PARSE_REMOVEFILEERROR:
|
||||||
self.show_message("Error while erasing file.", True)
|
self.show_message("Error while erasing file.", True)
|
||||||
|
|
||||||
def show_message(self,message, is_error):
|
def show_message(self, message, is_error):
|
||||||
self.window_controller.show_message(message, is_error)
|
self.window_controller.show_message(message, is_error)
|
||||||
|
|
||||||
def connect(self, host, port, tls):
|
def connect(self, host, port, tls):
|
||||||
|
BIN
ffe.labo.swilabus.com.p12
Normal file
BIN
ffe.labo.swilabus.com.p12
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user