Skip to content

Commit

Permalink
馃悰 backup: make sure exclude is always a list
Browse files Browse the repository at this point in the history
Closes #3155 and Sentry SERVER-119
  • Loading branch information
foosel committed May 15, 2019
1 parent b03d431 commit 2387b4a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/octoprint/plugins/backup/__init__.py
Expand Up @@ -619,6 +619,8 @@ def _create_backup(cls, name,
try:
if exclude is None:
exclude = []
if not isinstance(exclude, list):
exclude = list(exclude)

if "timelapse" in exclude:
exclude.append("timelapse_tmp")
Expand Down

0 comments on commit 2387b4a

Please sign in to comment.