Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Fallen-Breath committed Dec 8, 2023
1 parent fd76652 commit ebfdcba
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions prime_backup/mcdr/command/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ def create_backup_id(arg: str = 'backup_id', clazz: Type[Integer] = Integer) ->
builder.command('make', self.cmd_make)
builder.command('make <comment>', self.cmd_make)
builder.command('rename <backup_id> <comment>', self.cmd_rename)
builder.command('delete_range <backup_id_range>', self.cmd_delete_range)
builder.command('prune', self.cmd_prune)

# crontab
Expand Down
1 change: 0 additions & 1 deletion prime_backup/mcdr/task/backup/export_backup_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ def make_output(extension: str) -> Path:
'{} mode={}: ({}) {}',
RText(failure.file.path, TextColors.file),
oct(failure.file.mode),
RText(failure.file.path, TextColors.file),
type(failure.error).__name__,
str(failure.error),
))
2 changes: 1 addition & 1 deletion prime_backup/mcdr/text_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def backup_comment(cls, comment: str) -> RTextBase:
return cls.tr(f'backup_comment.{key}')
return RText(comment)
else:
cls.tr('backup_comment.none').set_color(RColor.gray).set_styles(RStyle.italic)
return cls.tr('backup_comment.none').set_color(RColor.gray).set_styles(RStyle.italic)

@classmethod
def backup_date(cls, backup: BackupInfo):
Expand Down

0 comments on commit ebfdcba

Please sign in to comment.