浏览代码

Script for removing all the banks ownerships

Eren Yilmaz 6 年之前
父节点
当前提交
c978bb73ba
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      reset_bank.py

+ 9 - 0
reset_bank.py

@@ -0,0 +1,9 @@
+import model
+from admin_console import cleanup
+
+if __name__ == '__main__':
+    if input('Are you sure you want to remove all the banks ownerships? (type in "yes" or something else):') == 'yes':
+        model.reset_bank()
+    else:
+        print('Not resetting bank.')
+    cleanup()