소스 검색

fix stock creation

Eren Yilmaz 7 년 전
부모
커밋
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()