Browse Source

Move commit to commit less often

Foppe Hemminga 6 năm trước cách đây
mục cha
commit
121dcb479f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      main.py

+ 1 - 1
main.py

@@ -132,7 +132,7 @@ if __name__ == '__main__':
                                                 db_data_query2.utctime.strftime('%H:%M'),
                                                 scratching.horse)
                 print(message)
-                if broadcast:
+                if broadcast or flag == 'FLAGGED!! ':
                     messages.append(message)
                     # view.broadcast(message)
                 # store new scratching