Upload files to 'project_manager'
This commit is contained in:
parent
5844eaa2ff
commit
acc9501a24
2 changed files with 7 additions and 6 deletions
|
@ -80,6 +80,7 @@ def run():
|
|||
win.update = {"versions":{}}
|
||||
win.projects = {}
|
||||
win.calllayer = False
|
||||
win.blink = False
|
||||
|
||||
t2 = threading.Thread(target=update_reader.get_update_info, args=(win,))
|
||||
t2.start()
|
||||
|
@ -145,6 +146,11 @@ def pmdrawing(pmdrawing, main_layer, win):
|
|||
# FPS counter
|
||||
win.fFPS = datetime.datetime.now()
|
||||
win.tFPS = win.fFPS - win.sFPS
|
||||
|
||||
if win.current["frame"] % 5 == 0:
|
||||
win.blink = not win.blink # Iterating the blink
|
||||
|
||||
|
||||
if win.current["frame"] % 10 == 0:
|
||||
win.FPS = int ( 1.0 / ( win.tFPS.microseconds /1000000))
|
||||
|
||||
|
|
|
@ -142,12 +142,7 @@ def layer(win):
|
|||
|
||||
def do():
|
||||
|
||||
# There is a lot of problems with the BASH syntax. So if some pages
|
||||
# do not load. It's probably some \ missing in some place. Click on
|
||||
# the button and look in the console. Bash usually tells the error.
|
||||
|
||||
oscalls.Open(link.replace("(", "\(").replace(")", "\)")\
|
||||
.replace("'", "\\'"))
|
||||
oscalls.Open(link)
|
||||
|
||||
UI_elements.roundrect(layer, win,
|
||||
win.current["w"]/2-200,
|
||||
|
|
Loading…
Reference in a new issue