flake8 fixes

This commit is contained in:
2021-03-13 20:50:21 +01:00
parent 0c7c7eafa4
commit d11d17c557
4 changed files with 15 additions and 8 deletions

View File

@@ -3,12 +3,12 @@ from src import trader
from threading import Thread
from argparse import Namespace, ArgumentParser
def setup_args() -> Namespace:
parser = ArgumentParser(
description='Poe Trader', epilog="And that's how you trade")
parser.add_argument(
'-l', '--logfile', help='Path of the logfile that should be used', default=r'D:\Poe\logs\Client.txt')
parser.add_argument('-l', '--logfile', help='Path of the logfile that should be used', default=r'D:\Poe\logs\Client.txt')
return parser.parse_args()
@@ -18,5 +18,4 @@ if __name__ == "__main__":
app = gui.Gui()
my_thread = Thread(target=trader.read_log, args=(args.logfile, app))
my_thread.start()
# read_log(args.logfile)
app.mainloop()
app.mainloop()