Compare commits
1 Commits
master
...
lash/impor
Author | SHA1 | Date | |
---|---|---|---|
|
2c72349ddc |
@ -216,7 +216,10 @@ if __name__ == '__main__':
|
|||||||
f.write(to_checksum_address(new_address_clean))
|
f.write(to_checksum_address(new_address_clean))
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
|
try:
|
||||||
os.symlink(os.path.realpath(filepath), meta_phone_filepath)
|
os.symlink(os.path.realpath(filepath), meta_phone_filepath)
|
||||||
|
except FileExistsError as e:
|
||||||
|
logg.warning('phone pointer for {} already exists: {}'.format(new_address_clean, e))
|
||||||
|
|
||||||
|
|
||||||
# custom data
|
# custom data
|
||||||
@ -239,8 +242,10 @@ if __name__ == '__main__':
|
|||||||
f.write(json.dumps(tag_data))
|
f.write(json.dumps(tag_data))
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
|
try:
|
||||||
os.symlink(os.path.realpath(filepath), custom_filepath)
|
os.symlink(os.path.realpath(filepath), custom_filepath)
|
||||||
|
except FileExistsError as e:
|
||||||
|
logg.warning('custom data pointer for {} already exists: {}'.format(new_address_clean, e))
|
||||||
|
|
||||||
i += 1
|
i += 1
|
||||||
sys.stdout.write('imported {} {}'.format(i, u).ljust(200) + "\r")
|
sys.stdout.write('imported {} {}'.format(i, u).ljust(200) + "\r")
|
||||||
|
Loading…
Reference in New Issue
Block a user