Browse Source

Script for removing all the banks ownerships

Eren Yilmaz 6 năm trước cách đây
mục cha
commit
c978bb73ba
1 tập tin đã thay đổi với 9 bổ sung0 xóa
  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()