Queer European MD passionate about IT
Davte 5 years ago
parent
commit
25cf7271f4
1 changed files with 2 additions and 3 deletions
  1. 2 3
      filebridging/server.py

+ 2 - 3
filebridging/server.py

@@ -91,10 +91,9 @@ class Server:
                 break
             except Exception as e:
                 logging.error(f"Unexpected exception:\n{e}", exc_info=True)
-        print(received_bytes)
+        print(f"received_bytes: {received_bytes}")
 
     async def run_writer(self, writer, connection_token):
-        print("ERRRR")
         consecutive_interruptions = 0
         errors = 0
         r = 0
@@ -113,7 +112,7 @@ class Server:
                 consecutive_interruptions = 0
             r += len(input_data)
             if not input_data:
-                print(r)
+                print(f"Sent bytes: {r}")
                 break
             try:
                 writer.write(input_data)