Browse Source

Script for removing all the banks ownerships

Eren Yilmaz 6 years ago
parent
commit
c978bb73ba
1 changed files with 9 additions and 0 deletions
  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()