This commit is contained in:
2025-10-12 10:23:17 +02:00
parent fb16ad7ced
commit 53c5584852
7 changed files with 22613 additions and 13 deletions

View File

@@ -5,6 +5,15 @@ import pymysql
from pymysql.cursors import DictCursor
import socket
def get_path_ciselniky():
hostname = socket.gethostname().strip()
if hostname in ("NTBVBHP470G10", "Z230"):
return r"u:\Dropbox\!!!Days\Downloads Z230\Pracuji_na\Import"
elif hostname == "SESTRA":
return r"z:\Dropbox\!!!Days\Downloads Z230\Pracuji_na\Import"
else:
print(f"Unknown host: {hostname}")
return None
def get_mysql_connection(cursor_mode=None):
"""