2 커밋 d7408dbd33 ... 109d974b6f

작성자 SHA1 메시지 날짜
  Foppe Hemminga 109d974b6f Remove parenthesis 5 년 전
  Foppe Hemminga c87a43beef Add requirements.txt 5 년 전
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 0
      requirements.txt
  2. 1 1
      view.py

+ 1 - 0
requirements.txt

@@ -0,0 +1 @@
+requests

+ 1 - 1
view.py

@@ -27,7 +27,7 @@ def create_message(name, timestamp, price, quantity, current_quantity=0,
     npc = ''
     if npc_drop:
         npc = '*NPC* '
-    name = ('<@!'+stock_id+'>' if stock_id else name)
+    name = '<@!'+stock_id+'>' if stock_id else name
     this_message = "{}: {}{} dropped {:,} shares at ${:,.2f} for a grand total of ${:,.1f}B [{}]".format(
         this_time, npc, name, quantity, price, this_drop_decimal, current_quantity)
     if forecast_previous and forecast_latest: