This commit is contained in:
Kovid Goyal 2019-03-25 21:05:07 +05:30
parent 390b0d45c1
commit 1c846769db
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -517,7 +517,7 @@ def create_global_prefs(conf_obj=None):
prefs = ConfigProxy(create_global_prefs()) prefs = ConfigProxy(create_global_prefs())
if prefs['installation_uuid'] is None: if prefs['installation_uuid'] is None:
import uuid import uuid
prefs['installation_uuid'] = str(uuid.uuid4()) prefs['installation_uuid'] = unicode_type(uuid.uuid4())
# Read tweaks # Read tweaks