Skip to content

Commit

Permalink
delete print
Browse files Browse the repository at this point in the history
  • Loading branch information
HanshaLeng committed Feb 24, 2022
1 parent 4cbbb39 commit 875ae3c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ def load_adventures_per_level(lang, level):
# if quizzes are not enabled, do not load it
if short_name == 'end' and not config['quiz-enabled']:
continue
print(ad_index, current_level)
if id_count <= ad_index or current_level > level:
current_adventure = {
'lock':'0',
Expand All @@ -145,7 +144,6 @@ def load_adventures_per_level(lang, level):
}
}
else:
print("test")
current_adventure = {
'lock':'1',
'short_name': short_name,
Expand Down Expand Up @@ -521,14 +519,10 @@ def parse():
for com in commands:
demo_code = com['demo_code']
demo_code += '\n'
print(code)
print(demo_code)
print(code==demo_code)
if code == demo_code:
RUN_COMMAND[index] = 1
index += 1
flag = 1
print(RUN_COMMAND)
for i in RUN_COMMAND:
if i == 0:
flag = 0
Expand Down

0 comments on commit 875ae3c

Please sign in to comment.