Преглед изворни кода

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