diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2019-07-04 12:16:16 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2019-07-04 12:16:16 +0200 |
commit | e7eb6fcd4781a907bf698a88df9cb34b5b31c369 (patch) | |
tree | 058880969b381adfb5f8e57e098ba1eb171e0240 /crocoite | |
parent | ec5e6a0aea7a2892f66ca1d196d83af521ca3955 (diff) | |
download | crocoite-e7eb6fcd4781a907bf698a88df9cb34b5b31c369.tar.gz crocoite-e7eb6fcd4781a907bf698a88df9cb34b5b31c369.tar.bz2 crocoite-e7eb6fcd4781a907bf698a88df9cb34b5b31c369.zip |
devtools: Prefix temp directories
Diffstat (limited to 'crocoite')
-rw-r--r-- | crocoite/devtools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crocoite/devtools.py b/crocoite/devtools.py index ea46aaa..b6311df 100644 --- a/crocoite/devtools.py +++ b/crocoite/devtools.py @@ -269,7 +269,7 @@ class Process: async def __aenter__ (self): assert self.p is None - self.userDataDir = mkdtemp () + self.userDataDir = mkdtemp (prefix=__package__ + '-chrome-userdata-') # see https://github.com/GoogleChrome/chrome-launcher/blob/master/docs/chrome-flags-for-tools.md args = [self.binary, '--window-size={},{}'.format (*self.windowSize), |