commit 31c6f42dd6c4651324ae9391825304fac230e79a parent 119ee2eb44b4390fed8899c26b2311d6568cd2ea Author: Antoine Amarilli <a3nm@a3nm.net> Date: Tue, 15 Nov 2016 11:18:11 +0100 do not fail if specified dump file does not exist yet Diffstat:
wikifirc | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/wikifirc b/wikifirc @@ -92,6 +92,8 @@ if __name__ == "__main__": f.close() except IndexError: pass + except FileNotFoundError: + pass while True: data = sys.stdin.readline()