mirror of
https://github.com/markqvist/NomadNet.git
synced 2024-10-01 01:26:07 -04:00
16 lines
409 B
Python
16 lines
409 B
Python
|
import RNS
|
||
|
import nomadnet
|
||
|
import time
|
||
|
|
||
|
from nomadnet import NomadNetworkApp
|
||
|
|
||
|
class NoneUI:
|
||
|
|
||
|
def __init__(self):
|
||
|
self.app = NomadNetworkApp.get_shared_instance()
|
||
|
self.app.ui = self
|
||
|
|
||
|
RNS.log("Nomad Network started in daemon mode, all further messages are logged to "+str(self.app.logfilepath), RNS.LOG_INFO, _override_destination=True)
|
||
|
|
||
|
while True:
|
||
|
time.sleep(1)
|