From 63772e7d11f1ebc8faf7fef6e98077396642cd4c Mon Sep 17 00:00:00 2001 From: Maximilien LEDOUX Date: Tue, 8 Mar 2022 16:30:16 +0100 Subject: [PATCH] =?UTF-8?q?TLS=20:=20Ajout=20fichier=20cl=C3=A9s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controller/AppController.py | 9 +++++---- ffe.labo.swilabus.com.p12 | Bin 0 -> 4469 bytes 2 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 ffe.labo.swilabus.com.p12 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 0000000000000000000000000000000000000000..98ca601f97c230174c70b91ba7f73a9920b34370 GIT binary patch literal 4469 zcmV-*5sL0Gf)Q~70Ru3C5jO@2Duzgg_YDCD0ic2rCD7=>kX(ZP8a$LvTy)e5xzIuq(@ zsN%kP(HtMzFVox|F!8jkf^wRN_%E9z-6}b~kdrG=a35oG@MNROvLJ<^eK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