Quellcode durchsuchen

Merge branch 'master' of https://git.fop.pe/Foppe/scratchings

Afwas [1337627 vor 6 Jahren
Ursprung
Commit
8401006ce6
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 1 1
      _bs.py
  2. 1 1
      main.py

+ 1 - 1
_bs.py

@@ -36,7 +36,7 @@ def get_today_row(this_text, this_row):
     # print('len(rows) {}'.format(len(rows)))
     all_race_days = []
     days_to_check = [this_row]
-    if this_row == 0:
+    if this_row == -1:
         days_to_check = range(len(rows))
     for day in days_to_check:
         my_row = rows[day]

+ 1 - 1
main.py

@@ -8,7 +8,7 @@ import view
 
 
 if __name__ == '__main__':
-    row = 0
+    row = -1
     if len(sys.argv) > 1:
         try:
             row = int(sys.argv[1])