2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-14 05:55:06 +00:00

fix password import error

This commit is contained in:
Philip Sargent
2021-04-03 00:33:55 +01:00
parent 52c1dabd0e
commit 912e447200
2 changed files with 9 additions and 5 deletions

View File

@@ -6,6 +6,7 @@ import json
import resource
import settings
import credentials
""" Command-line utility for loading cave data files into troggle's database.
The command line options select which combination of classes of data will be imported,
@@ -55,7 +56,7 @@ if os.geteuid() == 0:
exit()
expouser=settings.EXPOUSER
expouserpass=settings.EXPOUSERPASS
expouserpass=credentials.EXPOUSERPASS
expouseremail=settings.EXPOUSER_EMAIL
def reinit_db():