File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 5252 - name : Test starting pympress and quitting from the command line
5353 if : always()
5454 run : |
55- pympress &
5655 pympress --quit
57- wait %1
5856
5957 - name : Check the log has been created from the previous step
6058 if : always()
Original file line number Diff line number Diff line change @@ -2004,9 +2004,8 @@ def lookup_monitors(display, *windows):
20042004 the best monitor areas for primary and non-primary monitors
20052005 """
20062006 # Helpful for debugging
2007- name = [mon .get_manufacturer () + ' ' + mon .get_model () for mon in (
2008- display .get_monitor (n ) for n in range (display .get_n_monitors ())
2009- )]
2007+ name = ['{} {}' .format (mon .get_manufacturer () or 'Unknown manufacturer' , mon .get_model () or 'Unknown model' )
2008+ for mon in (display .get_monitor (n ) for n in range (display .get_n_monitors ()))]
20102009
20112010 all_geom = [ScreenArea (display .get_monitor (n ).get_geometry (), name [n ]) for n in range (display .get_n_monitors ())]
20122011 # Remove duplicate monitors (“mirrored”)
You can’t perform that action at this time.
0 commit comments