From 8ff9b0be19126087ac6c4bd507a9c038340382f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alve=20Svar=C3=A9n?= Date: Fri, 9 Oct 2020 19:01:47 +0200 Subject: [PATCH] Formatting of docstrings --- main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index a766d62..799a2b7 100644 --- a/main.py +++ b/main.py @@ -45,7 +45,9 @@ def gen_file(region_name: str, ip_address: str = "127.0.0.1", port: int = 22023) def write_file(region_name: str, ip_address: str = "127.0.0.1", file_name: str = "regionInfo.dat", port: int = 22023): """ - Creates and writes the among us regionInfo.dat file + Creates and writes the among us regionInfo.dat file. + Port should currently always be 22023 for it to work + Example: ```py try: @@ -54,7 +56,6 @@ def write_file(region_name: str, ip_address: str = "127.0.0.1", file_name: str = except Exception as error: print(error) ``` - Port should currently always be 22023 for it to work """ # Generate the file and save to the specified file name