File transfer example

This commit is contained in:
Mark Qvist 2018-04-25 23:05:30 +02:00
parent 8aa2f8613a
commit aa9d0876d7
3 changed files with 4 additions and 2 deletions

View file

@ -2,6 +2,7 @@ import os
import RNS
import time
import threading
import traceback
from time import sleep
import vendor.umsgpack as umsgpack
@ -86,6 +87,7 @@ class Transport:
except Exception as e:
RNS.log("An exception occurred while running Transport jobs.", RNS.LOG_ERROR)
RNS.log("The contained exception was: "+str(e), RNS.LOG_ERROR)
traceback.print_exc()
Transport.jobs_running = False