fixed a windows multoprocessing part

This commit is contained in:
dj2ls 2022-02-17 20:28:47 +01:00
parent 2d3a3735ec
commit 017574cb09

View file

@ -20,7 +20,7 @@ import modem
import sys import sys
import signal import signal
import time import time
import multiprocessing #import multiprocessing
# signal handler for closing aplication # signal handler for closing aplication
@ -33,7 +33,7 @@ signal.signal(signal.SIGINT, signal_handler)
if __name__ == '__main__': if __name__ == '__main__':
# we need to run this on windows for multiprocessing support # we need to run this on windows for multiprocessing support
multiprocessing.freeze_support() #multiprocessing.freeze_support()
# --------------------------------------------GET PARAMETER INPUTS # --------------------------------------------GET PARAMETER INPUTS
PARSER = argparse.ArgumentParser(description='FreeDATA TNC') PARSER = argparse.ArgumentParser(description='FreeDATA TNC')
PARSER.add_argument('--mycall', dest="mycall", default="AA0AA", help="My callsign", type=str) PARSER.add_argument('--mycall', dest="mycall", default="AA0AA", help="My callsign", type=str)