fix resume file location
This commit is contained in:
parent
c252583f6a
commit
af0ff62673
1 changed files with 2 additions and 1 deletions
|
@ -911,7 +911,8 @@ class API(ox.API):
|
||||||
self.media_cache = media_cache
|
self.media_cache = media_cache
|
||||||
if not self.media_cache:
|
if not self.media_cache:
|
||||||
self.media_cache = os.path.expanduser(default_media_cache)
|
self.media_cache = os.path.expanduser(default_media_cache)
|
||||||
self._resume_file = '/tmp/pandora_client.%s.json' % os.environ.get('USER')
|
netloc = urlparse(self.url).netloc
|
||||||
|
self._resume_file = '/tmp/pandora_client.%s.%s.json' % (os.environ.get('USER'), netloc)
|
||||||
|
|
||||||
def uploadFrames(self, i, data):
|
def uploadFrames(self, i, data):
|
||||||
#upload frames
|
#upload frames
|
||||||
|
|
Loading…
Reference in a new issue