Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4e2cf09

Browse files
author
anki-code
committed
0.6.16
1 parent 3580216 commit 4e2cf09

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

‎xxh_xxh/settings.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import sys, os
22

33
global_settings = {
4-
'XXH_VERSION': '0.6.15'
4+
'XXH_VERSION': '0.6.16'
55
}
66

77
if __name__ == "__main__":

‎xxh_xxh/xxh.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
from sys import exit
44
from argparse import RawTextHelpFormatter
55
from urllib.parse import urlparse
6-
from random import randint
76
from base64 import b64encode
87

98
from .shell import *
@@ -20,6 +19,9 @@ def eeprint(*args, **kwargs):
2019
print(*args, file=sys.stderr, **kwargs)
2120
exit(return_code)
2221

22+
def randint(a, b):
23+
return a+datetime.datetime.now().microsecond%(b-a+1)
24+
2325
class xxh:
2426
def __init__(self):
2527
self.package_dir_path = p(f"{__file__}").parent

0 commit comments

Comments
 (0)