Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if not os.path.isfile('{0}/extra/{1}.png'.format(basedir, bdisk['uxname'])):
- shutil.copy2(basedir + '/extra/bdisk.png', '{0}/{1}.png'.format(prepdir, bdisk['uxname']))
- else:
- shutil.copy2(basedir + '/extra/{0}.png'.format(bdisk['uxname']), '{0}/{1}.png'.format(prepdir, bdisk['uxname']))
Advertisement
Add Comment
Please, Sign In to add comment