Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
feihoo87 committed Sep 5, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent d32725f commit 8bcfb5a
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -41,6 +41,7 @@ dependencies = [
"ply>=3.11",
"pyzmq>=25.1.0",
"scipy>=1.0.0",
"scikit-optimize>=0.9.0",
"SQLAlchemy>=2.0.19",
"watchdog>=4.0.0",
"waveforms>=1.9.4"
4 changes: 2 additions & 2 deletions qulab/scan/models.py
Original file line number Diff line number Diff line change
@@ -525,13 +525,13 @@ def create_tables(engine, tables_only=False):
root_role = Role(name='root')
admin_role = Role(name='admin')
root_user = User(name='root')
root_user.setPassword('123')
# root_user.setPassword('123')
root_user.roles.append(root_role)
root_user.roles.append(admin_role)

guest_role = Role(name='guest')
guest_user = User(name='guest')
guest_user.setPassword('')
# guest_user.setPassword('')
guest_user.roles.append(guest_role)

t1 = SampleAccountType(name='factory')

0 comments on commit 8bcfb5a

Please sign in to comment.