diff --git a/controller/AppController.py b/controller/AppController.py index 7b3376a..fcd96ee 100644 --- a/controller/AppController.py +++ b/controller/AppController.py @@ -3,6 +3,7 @@ from model.Protocol import * import traceback import os.path + class AppController: def __init__(self, parser): self.parser = parser @@ -19,8 +20,8 @@ class AppController: print("[AppController::on_sign]") try: if not self.connection.is_connected: - print("[AppController::on_sign] connecting ... calling UnicastConnection::connect") - self.connect(host, port, tls) + print("[AppController::on_sign] connecting ... calling UnicastConnection::connect") + self.connect(host, port, tls) if not register: message = self.parser.build_SIGNIN(login, passw) else: @@ -41,7 +42,7 @@ class AppController: def get_filename_size_from_item(self, item): tokens = item.split('!') if len(tokens) == 2: - return (tokens[0],tokens[1]) + return (tokens[0], tokens[1]) else: return None @@ -117,7 +118,7 @@ class AppController: elif message_id == Protocol.PARSE_REMOVEFILEERROR: 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) def connect(self, host, port, tls): diff --git a/ffe.labo.swilabus.com.p12 b/ffe.labo.swilabus.com.p12 new file mode 100644 index 0000000..98ca601 Binary files /dev/null and b/ffe.labo.swilabus.com.p12 differ