diff --git a/bemani/format/afp/container.py b/bemani/format/afp/container.py index 357e834..d971ee3 100644 --- a/bemani/format/afp/container.py +++ b/bemani/format/afp/container.py @@ -408,7 +408,7 @@ class TXP2File(TrackedCoverage, VerboseOutput): if (control & 0x01) != 0: if comp_i >= comp_len: return decomp - + decomp.append(comp[comp_i]) window[window_i] = comp[comp_i] window_i += 1 @@ -421,7 +421,7 @@ class TXP2File(TrackedCoverage, VerboseOutput): if (len(decomp) + slide_len) > decomp_len: slide_len = decomp_len - len(decomp) - + while slide_len > 0: decomp.append(window[slide_off]) window[window_i] = window[slide_off] diff --git a/bemani/utils/proxy.py b/bemani/utils/proxy.py index 76ffed2..159c5b3 100644 --- a/bemani/utils/proxy.py +++ b/bemani/utils/proxy.py @@ -342,4 +342,4 @@ if __name__ == "__main__": if args.config is not None: load_proxy_config(args.config) - app.run(host="0.0.0.0", port=args.port, debug=True) + app.run(host=args.address, port=args.port, debug=True)