mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
fixed a windows multoprocessing part
This commit is contained in:
parent
2d3a3735ec
commit
017574cb09
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue