Update 'ChaChaIPToCountryDaemon/core.py'

make clean clone ca check free
This commit is contained in:
2023-07-23 00:39:30 +02:00
parent a9a09f0c2b
commit 5bbe6085f5

View File

@@ -147,7 +147,7 @@ class ChaChaIPToCountryStorage:
full_url += right_url
print("Cloning GIT repos: "+ full_url)
self.gitrepo = Repo.clone_from(full_url,self.tempdir_url )
self.gitrepo = Repo.clone_from(full_url,self.tempdir_url,depth=1,env={'GIT_SSL_NO_VERIFY': '1'} )
print("Done")
asyncio.get_event_loop().run_until_complete(self.update_repo(True))
print("Finished")