Skip to content

Commit 771f23f

Browse files
authored
Merge pull request #214 from auscompgeek/deploy-ignore-ext
deploy: Fix ignore file extensions
2 parents e420580 + 00b19ed commit 771f23f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pyfrc/mains/cli_deploy.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
import json
88
import os
99
import sys
10-
import re
11-
1210
import shutil
1311
import tempfile
1412
import threading
@@ -512,7 +510,7 @@ def _start_nc(self, ssh, options):
512510
def _copy_to_tmpdir(self, tmp_dir, robot_path, dry_run=False):
513511

514512
upload_files = []
515-
ignore_exts = frozenset({"pyc", "whl", "ipk", "zip", "gz", "wpilog"})
513+
ignore_exts = frozenset({".pyc", ".whl", ".ipk", ".zip", ".gz", ".wpilog"})
516514

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

0 commit comments

Comments
 (0)