forked from expo/troggle
[svn] with command option
This commit is contained in:
parent
b847bde6b7
commit
a9c22a3cff
@ -76,7 +76,13 @@ def export_cavetab():
|
|||||||
tocavetab.writeCaveTab(outfile)
|
tocavetab.writeCaveTab(outfile)
|
||||||
outfile.close()
|
outfile.close()
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
import sys
|
||||||
|
if "reset" in sys.argv:
|
||||||
|
reset()
|
||||||
|
else:
|
||||||
|
print "Do 'python databaseReset.py reset'"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user