bugfix
This commit is contained in:
parent
b709c57233
commit
028f255021
@ -6,12 +6,24 @@ import stat
|
|||||||
import os.path
|
import os.path
|
||||||
import platform
|
import platform
|
||||||
import time
|
import time
|
||||||
|
import random
|
||||||
"""
|
"""
|
||||||
import win32api
|
import win32api
|
||||||
"""
|
"""
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
|
||||||
|
def filepoolpath(root):
|
||||||
|
paths=[191,193,197,199,97]
|
||||||
|
v = random.randint(0,9999999)
|
||||||
|
path = os.path.abspath(os.path.join(root,
|
||||||
|
str(v % paths[0]),
|
||||||
|
str(v % paths[1]),
|
||||||
|
str(v % paths[2]),
|
||||||
|
str(v % paths[3]),
|
||||||
|
str(v % paths[4])))
|
||||||
|
return path
|
||||||
|
|
||||||
def startsWith(text,s):
|
def startsWith(text,s):
|
||||||
return text[:len(s)] == s
|
return text[:len(s)] == s
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user