fixing token script
parent
9f24dc58a0
commit
fe0e36796a
|
|
@ -9,8 +9,8 @@ import glob
|
||||||
import uuid
|
import uuid
|
||||||
|
|
||||||
# Configuration
|
# Configuration
|
||||||
CONTENT_DIR = 'content'
|
CONTENT_DIR = '../content'
|
||||||
TOKENS_FILE = 'tokens.csv'
|
TOKENS_FILE = '../tokens_siswa.csv'
|
||||||
|
|
||||||
def get_lesson_names():
|
def get_lesson_names():
|
||||||
"""Get all lesson names from the content directory (excluding home.md)"""
|
"""Get all lesson names from the content directory (excluding home.md)"""
|
||||||
|
|
@ -41,4 +41,4 @@ def generate_tokens_csv():
|
||||||
print("Teachers can now add student tokens and names directly to this file.")
|
print("Teachers can now add student tokens and names directly to this file.")
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
generate_tokens_csv()
|
generate_tokens_csv()
|
||||||
|
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
token;nama_siswa;introduction_to_c;variables_and_data_types
|
|
||||||
TESTTOKEN123;Test User;completed;
|
|
||||||
|
Loading…
Reference in New Issue