Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
tosca07 authored May 14, 2023
1 parent f8b917d commit c903018
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions picochess.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# GNU General Public License for more details
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
Expand Down Expand Up @@ -3208,22 +3208,7 @@ def takeback(state: PicochessState):
universal_newlines=True,
shell=True,
)
cmd = "xdotool keydown alt key Tab; sleep 0.2; xdotool keyup alt"
subprocess.run(
cmd,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
universal_newlines=True,
shell=True,
)
cmd = "xdotool keydown alt key Tab; sleep 0.2; xdotool keyup alt"
subprocess.run(
cmd,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
universal_newlines=True,
shell=True,
)

engine.startup(event.options, state.rating)

if online_mode():
Expand Down

0 comments on commit c903018

Please sign in to comment.