ifnotBMConfigParser().has_option('bitmessagesettings','identiconsuffix'):# acts as a salt
BMConfigParser().set('bitmessagesettings','identiconsuffix',''.join(random.choice("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz")forxinrange(12)))# a twelve character pseudo-password to salt the identicons
BMConfigParser().set('bitmessagesettings','identiconsuffix',''.join(helper_random.randomchoice("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz")forxinrange(12)))# a twelve character pseudo-password to salt the identicons
#Add settings to support no longer resending messages after a certain period of time even if we never get an ack
@ -12,6 +12,7 @@ from distutils.version import StrictVersion
fromnamecoinimportensureNamecoinOptions
importpaths
importstate
importhelper_random
storeConfigFilesInSameDirectoryAsProgramByDefault=False# The user may de-select Portable Mode in the settings if they want the config files to stay in the application data folder.
BMConfigParser().set('bitmessagesettings','identiconsuffix',''.join(random.choice("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz")forxinrange(12)))# a twelve character pseudo-password to salt the identicons
BMConfigParser().set('bitmessagesettings','identiconsuffix',''.join(helper_random.randomchoice("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz")forxinrange(12)))# a twelve character pseudo-password to salt the identicons