mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
e9ff5e2599
commit
6deb138320
@ -114,7 +114,7 @@ class MTP_DEVICE(BASE):
|
|||||||
except:
|
except:
|
||||||
prints('Failed to load existing driveinfo.calibre file, with error:')
|
prints('Failed to load existing driveinfo.calibre file, with error:')
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
dinfo = None
|
dinfo = {}
|
||||||
if dinfo.get('device_store_uuid', None) is None:
|
if dinfo.get('device_store_uuid', None) is None:
|
||||||
dinfo['device_store_uuid'] = unicode(uuid.uuid4())
|
dinfo['device_store_uuid'] = unicode(uuid.uuid4())
|
||||||
if dinfo.get('device_name', None) is None:
|
if dinfo.get('device_name', None) is None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user