mirror of
				https://gitlab.sectorq.eu/jaydee/omv_backup.git
				synced 2025-10-30 10:01:11 +01:00 
			
		
		
		
	build
This commit is contained in:
		| @@ -17,11 +17,16 @@ import fnmatch | |||||||
| import yaml | import yaml | ||||||
| import paramiko | import paramiko | ||||||
| import shutil | import shutil | ||||||
|  | import signal | ||||||
| import paho.mqtt.client as mqtt | import paho.mqtt.client as mqtt | ||||||
| #import numpy as np | #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__) | file_path = os.path.realpath(__file__) | ||||||
| dir_path = os.path.dirname(file_path) | dir_path = os.path.dirname(file_path) | ||||||
| VERSION="1.0.9" | VERSION="1.0.9" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user