Переглянути джерело

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()