parent
d29b3e300f
commit
4fb9cc40df
|
@ -2,6 +2,7 @@
|
||||||
# this module is part of undetected_chromedriver
|
# this module is part of undetected_chromedriver
|
||||||
|
|
||||||
from distutils.version import LooseVersion
|
from distutils.version import LooseVersion
|
||||||
|
import secrets
|
||||||
import io
|
import io
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
@ -69,7 +70,7 @@ class Patcher(object):
|
||||||
"""
|
"""
|
||||||
self.force = force
|
self.force = force
|
||||||
self._custom_exe_path = False
|
self._custom_exe_path = False
|
||||||
prefix = "undetected"
|
prefix = secrets.token_hex(8) #fixes running multiple instanes at once
|
||||||
self.user_multi_procs = user_multi_procs
|
self.user_multi_procs = user_multi_procs
|
||||||
|
|
||||||
if not os.path.exists(self.data_path):
|
if not os.path.exists(self.data_path):
|
||||||
|
|
Loading…
Reference in New Issue