Skip to content

Commit

Permalink
sauvegarde automatique
Browse files Browse the repository at this point in the history
  • Loading branch information
donnerc committed Apr 23, 2024
1 parent 2a6d4d0 commit 1520fa8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
except:
pass

def debug(*args, kwargs):
def debug(*args, **kwargs):
level = kwargs.get('level', 0)
if DBG_LEVEL >= level:
if level >= DBG_LEVEL:
print(*args)

DBG_LEVEL = 0
DBG_LEVEL = 0

def main():
'''
Expand All @@ -35,13 +35,13 @@ def main():
else:
hight = int(query[1])
hights[hight].append(index_affiche)
# print("coller", hight)
# print(hights[hight])
debug("coller", hight)
debug(hights[hight])
index_affiche += 1


# print(index_affiche)
# print(hights)
debug(index_affiche)
debug(hights)


if __name__ == '__main__':
Expand Down

0 comments on commit 1520fa8

Please sign in to comment.