mirror of
https://gitlab.sectorq.eu/jaydee/omv_backup.git
synced 2025-09-13 12:10:12 +02:00
build
This commit is contained in:
@@ -17,11 +17,16 @@ import fnmatch
|
||||
import yaml
|
||||
import paramiko
|
||||
import shutil
|
||||
import signal
|
||||
import paho.mqtt.client as mqtt
|
||||
#import numpy as np
|
||||
|
||||
def signal_handler(sig, frame):
|
||||
print('You pressed Ctrl+C!')
|
||||
conn.close()
|
||||
sys.exit(0)
|
||||
|
||||
|
||||
signal.signal(signal.SIGINT, signal_handler)
|
||||
file_path = os.path.realpath(__file__)
|
||||
dir_path = os.path.dirname(file_path)
|
||||
VERSION="1.0.9"
|
||||
|
Reference in New Issue
Block a user