X-Git-Url: https://mudpy.org/gitweb?p=mudpy.git;a=blobdiff_plain;f=mudpy%2Fmisc.py;fp=mudpy%2Fmisc.py;h=d753559b47107c200f91018965501d945584f0cc;hp=ecab4718610790367ea334c5157a8b3ec8ed9c77;hb=f63fc5f987aedcfcee80c84cde66fee6831aff23;hpb=ed4aaf2c7bbf86de6bec83bb33fd2fbf740cebc3 diff --git a/mudpy/misc.py b/mudpy/misc.py index ecab471..d753559 100644 --- a/mudpy/misc.py +++ b/mudpy/misc.py @@ -1,6 +1,6 @@ """Miscellaneous functions for the mudpy engine.""" -# Copyright (c) 2004-2019 mudpy authors. Permission to use, copy, +# Copyright (c) 2004-2020 mudpy authors. Permission to use, copy, # modify, and distribute this software is granted under terms # provided in the LICENSE file distributed with this software. @@ -850,7 +850,7 @@ class User: # check for some input try: raw_input = self.connection.recv(1024) - except (BlockingIOError, OSError): + except OSError: raw_input = b"" # we got something