Skip to content

Commit

Permalink
Merge pull request #214 from auscompgeek/deploy-ignore-ext
Browse files Browse the repository at this point in the history
deploy: Fix ignore file extensions
  • Loading branch information
virtuald committed Jan 16, 2023
2 parents e420580 + 00b19ed commit 771f23f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pyfrc/mains/cli_deploy.py
Expand Up @@ -7,8 +7,6 @@
import json
import os
import sys
import re

import shutil
import tempfile
import threading
Expand Down Expand Up @@ -512,7 +510,7 @@ def _start_nc(self, ssh, options):
def _copy_to_tmpdir(self, tmp_dir, robot_path, dry_run=False):

upload_files = []
ignore_exts = frozenset({"pyc", "whl", "ipk", "zip", "gz", "wpilog"})
ignore_exts = frozenset({".pyc", ".whl", ".ipk", ".zip", ".gz", ".wpilog"})

for root, dirs, files in os.walk(robot_path):
prefix = root[len(robot_path) + 1 :]
Expand Down

0 comments on commit 771f23f

Please sign in to comment.