mirror of
https://gitlab.sectorq.eu/jaydee/auto_import.git
synced 2025-12-14 18:44:52 +01:00
build
This commit is contained in:
@@ -189,12 +189,7 @@ while True:
|
|||||||
#shutil.copy("{}/{}".format(FULL_PATH,filename),_FDEST)
|
#shutil.copy("{}/{}".format(FULL_PATH,filename),_FDEST)
|
||||||
myCmd = f"rsync -avz {FULL_PATH}/{filename} {_FDEST}"
|
myCmd = f"rsync -avz {FULL_PATH}/{filename} {_FDEST}"
|
||||||
status, output = subprocess.getstatusoutput(myCmd)
|
status, output = subprocess.getstatusoutput(myCmd)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
files_imported += 1
|
files_imported += 1
|
||||||
|
|
||||||
|
|
||||||
except:
|
except:
|
||||||
try:
|
try:
|
||||||
#shutil.copy("{}/{}".format(FULL_PATH,filename),"{}/{}".format(_FDEST,filename))
|
#shutil.copy("{}/{}".format(FULL_PATH,filename),"{}/{}".format(_FDEST,filename))
|
||||||
|
|||||||
Reference in New Issue
Block a user