allow hyphen in annotation file name (#1074)

* remove old detritus

* allow hyphen in label file name
This commit is contained in:
Bruce Martin
2020-01-02 15:44:40 -08:00
committed by GitHub
parent 0b1bdca022
commit dfaf0d0603
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -17,7 +17,6 @@ def read_labels(fname):
def write_labels(fname, df, header=None, backup_dir=None):
if backup_dir is not None:
backup(fname, backup_dir)
# rotate_fname(fname, backup_dir)
if not df.empty:
with open(fname, "w", newline="") as f:
if header is not None: