- commit
- 38f9b1e2fbc37773343b7e2c6fa692445887c74b
- parent
- 6c33dacdb69c70018c7d3ddbae00f49dec20c487
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2023-05-29 13:46
random CLIENT_ID
Diffstat
M | python/pad/__init__.py | 6 | ++++-- |
1 files changed, 4 insertions, 2 deletions
diff --git a/python/pad/__init__.py b/python/pad/__init__.py
@@ -1,5 +1,7 @@1 -1 import os2 1 import json -1 2 import os -1 3 import random -1 4 import string 3 5 4 6 import requests 5 7 import vim @@ -7,7 +9,7 @@ import vim 7 9 from . import diff 8 10 9 11 BASE_URL = 'https://via.ce9e.org/hmsg/pad/'10 -1 CLIENT_ID = 'vim' # TODO random-1 12 CLIENT_ID = ''.join(random.sample(string.hexdigits, 6)) 11 13 12 14 pads = {} 13 15