瀏覽代碼

fix stock creation

Eren Yilmaz 6 年之前
父節點
當前提交
1210ae7609
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      create_new_stock.py

+ 1 - 1
create_new_stock.py

@@ -2,5 +2,5 @@ import model
 from admin_console import cleanup
 
 if __name__ == '__main__':
-    print(model.new_stock(input('How long will the initial selling be available? (minutes):')))
+    print(model.new_stock(float(input('How long will the initial selling be available? (minutes):'))))
     cleanup()