Browse Source

let's close the stdin (probably useless anyway?)

boyska 1 year ago
parent
commit
1b3384c49a
2 changed files with 1 additions and 1 deletions
  1. 1 0
      schermetto/num_display.py
  2. 0 1
      utils/wsclient.py

+ 1 - 0
schermetto/num_display.py

@@ -110,6 +110,7 @@ class App(Gtk.Application):
         self.window.present()
 
     def on_quit(self, action, param):
+        sys.stdin.close()
         self.quit()
 
     @GObject.Property(type=str,

+ 0 - 1
utils/wsclient.py

@@ -26,7 +26,6 @@ def get_parser():
 def on_message(wsapp, msg):
     print(msg)
 
-
 def main():
     args = get_parser().parse_args()