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.update = {"versions":{}}
|
||||||
win.projects = {}
|
win.projects = {}
|
||||||
win.calllayer = False
|
win.calllayer = False
|
||||||
|
win.blink = False
|
||||||
|
|
||||||
t2 = threading.Thread(target=update_reader.get_update_info, args=(win,))
|
t2 = threading.Thread(target=update_reader.get_update_info, args=(win,))
|
||||||
t2.start()
|
t2.start()
|
||||||
|
@ -145,6 +146,11 @@ def pmdrawing(pmdrawing, main_layer, win):
|
||||||
# FPS counter
|
# FPS counter
|
||||||
win.fFPS = datetime.datetime.now()
|
win.fFPS = datetime.datetime.now()
|
||||||
win.tFPS = win.fFPS - win.sFPS
|
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:
|
if win.current["frame"] % 10 == 0:
|
||||||
win.FPS = int ( 1.0 / ( win.tFPS.microseconds /1000000))
|
win.FPS = int ( 1.0 / ( win.tFPS.microseconds /1000000))
|
||||||
|
|
||||||
|
|
|
@ -142,12 +142,7 @@ def layer(win):
|
||||||
|
|
||||||
def do():
|
def do():
|
||||||
|
|
||||||
# There is a lot of problems with the BASH syntax. So if some pages
|
oscalls.Open(link)
|
||||||
# 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("'", "\\'"))
|
|
||||||
|
|
||||||
UI_elements.roundrect(layer, win,
|
UI_elements.roundrect(layer, win,
|
||||||
win.current["w"]/2-200,
|
win.current["w"]/2-200,
|
||||||
|
|
Loading…
Reference in a new issue