diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index b79c955ac..7b78ced9a 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,6 +1,5 @@ name: 🐛 Report a bug description: Create a bug report to help improve OctoPrint -title: "" body: - type: markdown attributes: @@ -106,10 +105,8 @@ body: value: >- Please also be sure to upload the following files below: - * `octoprint.log`: See [here](https://community.octoprint.org/t/where-can-i-find-octoprints-and-octopis-log-files/299) if you don't know where to find that. Just attach down below as-is. - * `serial.log` or the contents of your terminal tab, if applicable. Always - include if unsure. **Please note that you need to enable `serial.log` first**, - see [here](https://community.octoprint.org/t/where-can-i-find-octoprints-and-octopis-log-files/299) if you don't know how to do or where to find it. Just attach down below as-is. + * Systeminfo Bundle: See [here](https://community.octoprint.org/t/what-is-a-systeminfo-bundle-and-how-can-i-obtain-one/29887) if you don't know where to find that. Just attach down below as-is. Note that you'll need at least OctoPrint 1.6.0 for this to be available - we no longer accept bug reports created for older versions than this. + * If you are reporting an issue that involves communicating with you printer, **be sure to enable `serial.log` before reproducing and creating the Systeminfo Bundle**! * Your browser's JavaScript console, if you are reporting a problem with the user interface. See [here](https://webmasters.stackexchange.com/questions/8525/how-to-open-the-javascript-console-in-different-browsers) on where to find that. * If possible, screenshots or videos showing the problem, especially if you @@ -117,15 +114,14 @@ body: * GCODE files with which to reproduce, if you are reporting an issue with GCODE file analysis or printing behaviour. - Please be aware that unless at least `octoprint.log` is included, your bug report - will not be processed. + Please be aware that unless at least Systeminfo Bundle is included, your bug report + will not be processed and closed after a while. - type: checkboxes attributes: label: Checklist of files to include below options: - - label: octoprint.log + - label: Systeminfo Bundle (always include!) required: true - - label: serial.log or contents of your terminal tab (always include in cases of issues with printer communication) - label: Contents of the JavaScript browser console (always include in cases of issues with the user interface) - label: Screenshots and/or videos showing the problem (always include in case of issues with the user interface) - label: GCODE file with which to reproduce (always include in case of issues with GCODE analysis or printing behaviour) diff --git a/.versioneer-lookup b/.versioneer-lookup index 6fe623409..6075a0bba 100644 --- a/.versioneer-lookup +++ b/.versioneer-lookup @@ -24,15 +24,15 @@ maintenance 1.7.0 07c4630d126617c2ae98a9c23ad49facf7bf0bbd pep440-dev fix/.* 1.7.0 07c4630d126617c2ae98a9c23ad49facf7bf0bbd pep440-dev improve/.* 1.7.0 07c4630d126617c2ae98a9c23ad49facf7bf0bbd pep440-dev -# staging/bugfix is the branch for preparation of the 1.5.3 hotfix release +# staging/bugfix is the branch for preparation of the 1.6.1 bugfix release # so are any bug/... branches -staging/bugfix 1.5.3 e46e8fa17a1553cd0c228a4fa4cfd93e2a9bce7b pep440-dev -bug/.* 1.5.3 e46e8fa17a1553cd0c228a4fa4cfd93e2a9bce7b pep440-dev +staging/bugfix 1.6.1 29484fb2926960279e62881d6ee073c374a2a5fe pep440-dev +bug/.* 1.6.1 29484fb2926960279e62881d6ee073c374a2a5fe pep440-dev -# staging/maintenance is currently the branch for preparation of 1.6.0rc3 +# staging/maintenance is currently the branch for preparation of 1.6.0rc4 # so is regressionfix/... -staging/maintenance 1.6.0rc3 c2844c8132871f40f8dec3a0cdff8e7cfd25bab9 pep440-dev -regressionfix/.* 1.6.0rc3 c2844c8132871f40f8dec3a0cdff8e7cfd25bab9 pep440-dev +staging/maintenance 1.6.0rc4 7054a726bb3dc363a98ec6944b24e07879bb389b pep440-dev +regressionfix/.* 1.6.0rc4 7054a726bb3dc363a98ec6944b24e07879bb389b pep440-dev # staging/devel is currently inactive (but has the 1.4.1rc4 namespace) staging/devel 1.4.1rc4 650d54d1885409fa1d411eb54b9e8c7ff428910f pep440-dev diff --git a/AUTHORS.md b/AUTHORS.md index 7aecc1391..cbdfc50f8 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -141,6 +141,10 @@ date of first contribution): * [Joe Martella](https://github.com/martellaj) * [Scott Lahteine](https://github.com/thinkyhead) * [Karthikeyan Singaravelan](https://github.com/tirkarthi) + * [Yvan Rodrigues](https://github.com/TwoRedCells) + * [Elton Law](https://github.com/eltonlaw) + * ["sparxooo"](https://github.com/sparxooo) + * ["Stevil Knevil"](https://github.com/StevilKnevil) OctoPrint started off as a fork of [Cura](https://github.com/daid/Cura) by [Daid Braam](https://github.com/daid). Parts of its communication layer and diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2097ccd8d..51c1e7d19 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -31,7 +31,7 @@ nothing but ticket management. - **[Read the FAQ](https://faq.octoprint.org)** - If you want to report a **bug**, [read "How to file a bug report" below](#how-to-file-a-bug-report) - and *[use the provided form](https://github.com/OctoPrint/OctoPrint/issues/new?template=bug_report.yml)*. + and *[use the provided template](#what-should-i-include-in-a-ticket)*. You do not need to do anything else with your ticket. - If you want to post a **feature request** or a **documentation request**, add `[Request]` to your issue's title (e.g. `[Request] Awesome new feature`). A question on how to run/change/setup @@ -48,6 +48,15 @@ nothing but ticket management. No matter what kind of ticket you create, never mix two or more "ticket reasons" into one ticket: One ticket per bug, request, brainstorming thread please. +> 👉 **Note** +> +> A bot is in place that monitors new tickets, automatically +> categorizes them and checks new bug reports for usage of the provided template. +> That bot will only bother you if you open a ticket that appears to be a bug (no +> `[Request]` in the title) without the complete template, and it +> will do that only to ensure that all information needed to solve the issue is +> available for the maintainers to directly start tackling that problem. + ## How to file a bug report If you encounter an issue with OctoPrint, you are welcome to @@ -109,7 +118,7 @@ following section *completely* and also follow the instructions in the it is the same as your's, it actually behaves the same as your's. E.g. if someone gives steps to reproduce his bug that looks like your's, reproduce the bug like that if possible, and only add a "me too" if you actually can reproduce the same - issue. Also **provide all information like logs, versions, different reproduction steps** + issue. Also **provide all information like Systeminfo Bundle, additional logs & versions, different reproduction steps** and whatever was additionally requested over the course of the ticket even if you "only" add to an existing ticket. The more information available regarding a bug, the higher the chances of reproducing and solving it. But "me too" on an actually unrelated ticket @@ -126,12 +135,128 @@ there. First of all make sure your use **a descriptive title**. "It doesn't work" and similar unspecific complaints are NOT descriptive titles. -Always fill out the [reporting form](https://github.com/OctoPrint/OctoPrint/issues/new?template=bug_report.yml) **completely** and include as much -information as possible. +**Always use the following template, even if only adding a "me too" to an +existing ticket**: + +``` + + +#### What were you doing? + + + +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + + + +#### What did you expect to happen? + +#### What happened instead? + +#### Did the same happen when running OctoPrint in safe mode? + + + +#### Version of OctoPrint + + + +#### Printer model & used firmware incl. version + + + +#### Browser and version of browser, operating system running browser + + + +#### System Info Bundle + + + +#### Link to contents of Javascript console in the browser + + + +#### Screenshot(s)/video(s) showing the problem: + + + +I have read the FAQ. +``` Provide the same kind and amount of information also when you are just adding on to an existing ticket! +### Where can I find the System Info Bundle? + +Please refer to [this FAQ entry](https://community.octoprint.org/t/what-is-a-systeminfo-bundle-and-how-can-i-obtain-one/29887). + ### Where can I find which version and branch I'm on? Please refer to [this FAQ entry](https://community.octoprint.org/t/how-can-i-find-out-the-version-of-octoprint-or-octopi-i-am-running/204/1). @@ -287,7 +412,8 @@ See [the corresponding chapter in the documentation](https://docs.octoprint.org/ * 2020-09-23: Move branch & versioning into development docs * 2020-10-07: Introduce `pre-commit` * 2021-02-04: Issue forms! \o/ - * 2020-03-04: Correct issue forms link + * 2021-03-04: Correct issue forms link + * 2021-04-27: Systeminfo Bundles! \o/ ## Footnotes * [1] - If you are wondering why, the problem is that anything that you add diff --git a/SUPPORTERS.md b/SUPPORTERS.md index e20806178..dcdf69cf9 100644 --- a/SUPPORTERS.md +++ b/SUPPORTERS.md @@ -10,12 +10,12 @@ thanks to everyone who contributed! * 3DPrinterOS * Arnljot Arntsen * Ash King - * Ashley Merrick * BigTreeTech * Boris Hussein * Brad Jackson * BRANDON ROBERTSON * BuildBee + * Chris Lynch * Christian Petropolis * Christian Wolf * Christoph Sigrist @@ -25,7 +25,6 @@ thanks to everyone who contributed! * DeltaMaker 3D Printers * Dennis Breining * Dennis Christilaw - * Diana C Rodriguez * Douglas Floyd * Eric Betts * Ernesto Martinez @@ -78,4 +77,4 @@ thanks to everyone who contributed! * Ulderico Cirello * Ulrich Kempken -and 2309 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel) or via [GitHub Sponsors](https://github.com/users/foosel/sponsorship)! +and 2350 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel) or via [GitHub Sponsors](https://github.com/users/foosel/sponsorship)! diff --git a/THIRDPARTYLICENSES.md b/THIRDPARTYLICENSES.md index 460f3df15..e4ff3a2b3 100644 --- a/THIRDPARTYLICENSES.md +++ b/THIRDPARTYLICENSES.md @@ -33,7 +33,6 @@ * [Moment.js](http://momentjs.com/): MIT * [PNotify](http://sciactive.com/pnotify/): GPL, LGPL, MPL (triple licensed) * [pusher.color.js](http://cache.preserve.io/5g18q0pw/index.html) (original link dead): MIT - * [ResizeSensor.js](https://github.com/procurios/ResizeSensor): MIT * [SockJS](https://github.com/sockjs/sockjs-client): MIT * [sprintf-js](http://alexei.ro/): BSD @@ -58,6 +57,7 @@ * [monotonic](https://github.com/atdt/monotonic): Apache License 2.0 * [netaddr](https://github.com/drkjam/netaddr/): BSD * [netifaces](https://bitbucket.org/al45tair/netifaces): MIT + * [pathvalidate](https://pathvalidate.readthedocs.io/en/latest/index.html): MIT * [pkginfo](http://pypi.python.org/pypi/pkginfo/): Python * [psutil](https://github.com/giampaolo/psutil): BSD * [pylru](https://github.com/jlhutch/pylru): GPLv2 diff --git a/docs/api/datamodel.rst b/docs/api/datamodel.rst index bbca4519f..703c19c4e 100644 --- a/docs/api/datamodel.rst +++ b/docs/api/datamodel.rst @@ -195,11 +195,11 @@ Job information - The file that is the target of the current print job * - ``estimatedPrintTime`` - 0..1 - - Integer + - Float - The estimated print time for the file, in seconds. * - ``lastPrintTime`` - 0..1 - - Integer + - Float - The print time of the last print of the file, in seconds. * - ``filament`` - 0..1 @@ -207,7 +207,7 @@ Job information - Information regarding the estimated filament usage of the print job * - ``filament.length`` - 0..1 - - Integer + - Float - Length of filament used, in mm * - ``filament.volume`` - 0..1 @@ -419,7 +419,7 @@ GCODE analysis information - Description * - ``estimatedPrintTime`` - 0..1 - - Integer + - Float - The estimated print time of the file, in seconds * - ``filament`` - 0..1 @@ -427,7 +427,7 @@ GCODE analysis information - The estimated usage of filament * - ``filament.tool{n}.length`` - 0..1 - - Integer + - Float - The length of filament used, in mm * - ``filament.tool{n}.volume`` - 0..1 diff --git a/docs/api/files.rst b/docs/api/files.rst index 0757bde41..3df618d90 100644 --- a/docs/api/files.rst +++ b/docs/api/files.rst @@ -15,7 +15,9 @@ Retrieve all files Retrieve information regarding all files currently available and regarding the disk space still available locally in the system. The results are cached for performance reasons. If you - want to override the cache, supply the query parameter ``force`` and set it to ``true``. + want to override the cache, supply the query parameter ``force`` and set it to ``true``. Note that + while printing a refresh/override of the cache for files stored on the printer's SD card + is disabled due to bandwidth restrictions on the serial interface. By default only returns the files and folders in the root directory. If the query parameter ``recursive`` is provided and set to ``true``, returns all files and folders. @@ -249,6 +251,8 @@ Retrieve files from specific location Retrieve information regarding the files currently available on the selected `location` and -- if targeting the ``local`` location -- regarding the disk space still available locally in the system. The results are cached for performance reasons. If you want to override the cache, supply the query parameter ``force`` and set it to ``true``. + Note that while printing a refresh/override of the cache for files stored on the printer's SD card + is disabled due to bandwidth restrictions on the serial interface. By default only returns the files and folders in the root directory. If the query parameter ``recursive`` is provided and set to ``true``, returns all files and folders. @@ -585,6 +589,15 @@ Issue a file command Requires the ``FILES_SELECT`` permission. + unselect + Unselects the currently selected file for printing. + + Upon success, a status code of :http:statuscode:`204` and an empty body is returned. If no file is selected + or there already is an active print job, a :http:statuscode:`409` is returned. If path isn't ``current``` + or the filename of the current selection, a :http:statuscode:`400` is returned + + Requires the ``FILES_SELECT`` permission. + slice Slices an STL file into GCODE. Note that this is an asynchronous operation that will take place in the background after the response has been sent back to the client. Additional parameters are: diff --git a/docs/configuration/config_yaml.rst b/docs/configuration/config_yaml.rst index a945a6c2a..0cab1bca5 100644 --- a/docs/configuration/config_yaml.rst +++ b/docs/configuration/config_yaml.rst @@ -708,6 +708,11 @@ Use the following settings to configure the serial connection to the printer: - M0 - M1 + # Commands which should not be sent to the printer and just silently ignored. + # An example of when you may wish to use this could be useful if you wish to manually change a filament on M600, + # by using that as a Pausing command (below) + ignoredCommands: + # Commands which should cause OctoPrint to pause any ongoing prints. pausingCommands: - M0 @@ -904,9 +909,9 @@ Use the following settings to configure the server: # Settings for further configuration of the cookies that OctoPrint sets (login, remember me, ...) cookies: - # SameSite setting to use on the cookies. Possible values are None, Lax and Strict. Defaults to None but - # be advised that browsers will soon force this to Lax unless also being set as Secure and served over - # https, which will cause issues with embedding OctoPrint in frames. + # SameSite setting to use on the cookies. Possible values are None, Lax and Strict. Defaults to not set but + # be advised that many browsers now default to Lax unless set as Secure, explicitly setting the cookie type + # here and served over https, which causes issues with embedding OctoPrint in frames. # # See also https://www.chromestatus.com/feature/5088147346030592, # https://www.chromestatus.com/feature/5633521622188032 and issue #3482 diff --git a/docs/development/environment.rst b/docs/development/environment.rst index d3b5868ad..d0bab6915 100644 --- a/docs/development/environment.rst +++ b/docs/development/environment.rst @@ -22,7 +22,7 @@ below. * ``git clone https://github.com/OctoPrint/OctoPrint.git`` * Enter the checked out source folder: ``cd OctoPrint`` - * Create virtual environments in the checked out source folder for both Python 2 and Python 3 to use for + * Create a virtual environment in the checked out source folder to use for installing and running OctoPrint and its dependencies. Creating virtual environments avoids potential versioning issues for the dependencies with system wide installed instances: @@ -34,10 +34,7 @@ below. binary cannot be found on your ``PATH`` like this you'll need to specify the full path to it here, e.g. ``virtualenv --python=/path/to/python3/bin/python venv`` - * Activate one of the virtual environments (the Python 3 venv should be considered the - primary one at this point): - - * ``source venv/bin/activate`` (Linux, macOS) or ``source venv/Scripts/activate`` (Git Bash under Windows, see below) + * Activate the virtual environment: ``source venv/bin/activate`` (Linux, macOS) or ``source venv/Scripts/activate`` (Git Bash under Windows, see below) * Update ``pip`` in the virtual environment: @@ -62,22 +59,9 @@ When the virtual environment is activated you can then: * run the test suite from the checked out source folder via ``pytest`` * trigger the pre-commit check suite manually from the checked out source folder via ``pre-commit run --hook-stage manual --all-files`` - -To switch the activated virtual environment, simply activate the new environment as described above. - -To deactivate the virtual environment and return to the system's default Python: ``deactivate``. - -If you also want to be able to build the documentation that resides in the ``docs`` subfolder, you need to activate -the *Python 3* environment and install the docs dependencies as well: - - * ``source venv3/bin/activate`` (Linux, macOS) or ``source venv3/Scripts/activate`` (Git Bash under Windows, see below) - * ``pip install -e '.[develop,plugins,docs]'`` - -Go to the directory `docs` and you can then build the documentation: - - * ``sphinx-build -b html . _build`` - -The documentation will be available in the newly created ``_build`` directory. You can simply browse it locally by opening ``index.html`` + * build the documentation running ``sphinx-build -b html . _build`` in the ``docs`` + folder -- the documentation will be available in the newly created ``_build`` + directory. You can simply browse it locally by opening ``index.html`` .. _sec-development-environment-source-linux: @@ -94,7 +78,7 @@ installed: .. code-block:: none - sudo apt-get install python3 python3-pip python3-dev python3-setuptools python3-virtualenv python3 python3-virtualenv python3-dev git libyaml-dev build-essential + sudo apt-get install python3 python3-pip python3-dev python3-setuptools python3-virtualenv git libyaml-dev build-essential .. todo:: @@ -131,9 +115,9 @@ First download & install: * `The current Python 3.8 Windows x86 executable installer `_ * make sure to have the installer add Python to the ``PATH`` and have it install ``pip`` too - * it's recommended to install Python 2.7 into ``C:\Python27`` and Python 3 into ``C:\Python38`` - if you select + * it's recommended to install Python 3 into ``C:\Python3`` - if you select different install locations please substitute accordingly - * it's also recommended to have both versions get installed for all users + * it's also recommended to install for all users * `Build Tools for Visual Studio 2019 `_ @@ -257,6 +241,8 @@ PyCharm - **(macOS)** "PyCharm" > "Preferences ..." > "Project: OctoPrint" > "Project Interpreter" > "Add ..." > "Virtualenv Environment > "Existing Environment", select OctoPrint ``venv`` folder (e.g. ``~/devel/OctoPrint/venv``). + If desired, repeat for any other additional Python venvs (e.g. different versions). + - Right click "src" in project tree, mark as source folder - Add Run/Debug Configuration, select "Python": @@ -320,7 +306,7 @@ PyCharm * disable "Auto-save edited files to trigger the watched" * enable "Trigger the watched on external changes" -To switch between Python 2 and 3, all you need to do now is change the Project Default Interpreter and restart +To switch between virtual environments (e.g. various Python 3 versions), all you need to do now is change the Project Default Interpreter and restart OctoPrint. On current PyCharm versions you can do that right from a small selection field in the footer of the IDE. Otherwise go through Settings. diff --git a/docs/plugins/hooks.rst b/docs/plugins/hooks.rst index dcbb3b239..323ac247f 100644 --- a/docs/plugins/hooks.rst +++ b/docs/plugins/hooks.rst @@ -1430,7 +1430,7 @@ octoprint.server.api.after_request octoprint.server.api.before_request ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.. py:function:: after_request_handlers_hook(*args, **kwargs) +.. py:function:: before_request_handlers_hook(*args, **kwargs) .. versionadded:: 1.3.10 diff --git a/setup.py b/setup.py index efae3aeea..c7df08f79 100644 --- a/setup.py +++ b/setup.py @@ -63,6 +63,7 @@ INSTALL_REQUIRES = [ "filetype>=1.0.7,<2", "zeroconf>=0.24,<0.25", "zipstream-new>=1.1.8,<1.2", + "pathvalidate>=2.4.1,<3", # vendor bundled dependencies "unidecode>=0.04.14,<0.05", # dependency of awesome-slugify "blinker>=1.4,<2", # dependency of flask_principal @@ -240,9 +241,9 @@ def params(): project_urls = { "Community Forum": "https://community.octoprint.org", - "Bug Reports": "https://github.com/foosel/OctoPrint/issues", - "Source": "https://github.com/foosel/OctoPrint", - "Funding": "https://donate.octoprint.org", + "Bug Reports": "https://github.com/OctoPrint/OctoPrint/issues", + "Source": "https://github.com/OctoPrint/OctoPrint", + "Funding": "https://support.octoprint.org", } packages = setuptools.find_packages(where="src") diff --git a/src/octoprint/filemanager/storage/local.py b/src/octoprint/filemanager/storage/local.py index f00f7e431..e875fab4d 100644 --- a/src/octoprint/filemanager/storage/local.py +++ b/src/octoprint/filemanager/storage/local.py @@ -13,7 +13,7 @@ import pylru import octoprint.filemanager from octoprint.util import atomic_write, is_hidden_path, time_this, to_bytes, to_unicode -from octoprint.util.text import sanitize +from octoprint.util.files import sanitize_filename from . import Storage, StorageError @@ -28,13 +28,14 @@ class LocalFileStorage(Storage): This storage type implements :func:`path_on_disk`. """ - def __init__(self, basefolder, create=False, key="local"): + def __init__(self, basefolder, create=False, key="local", really_universal=False): """ Initializes a ``LocalFileStorage`` instance under the given ``basefolder``, creating the necessary folder if necessary and ``create`` is set to ``True``. - :param string basefolder: the path to the folder under which to create the storage - :param bool create: ``True`` if the folder should be created if it doesn't exist yet, ``False`` otherwise + :param string basefolder: the path to the folder under which to create the storage + :param bool create: ``True`` if the folder should be created if it doesn't exist yet, ``False`` otherwise + :param bool really_universal: ``True`` if the file names should be forced to really universal, ``False`` otherwise """ self._logger = logging.getLogger(__name__) @@ -47,6 +48,8 @@ class LocalFileStorage(Storage): code=StorageError.INVALID_DIRECTORY, ) + self._really_universal = really_universal + import threading self._metadata_lock_mutex = threading.RLock() @@ -738,22 +741,10 @@ class LocalFileStorage(Storage): def sanitize_name(self, name): """ Raises a :class:`ValueError` for a ``name`` containing ``/`` or ``\\``. Otherwise - slugifies the given ``name`` by converting it to ASCII, leaving ``-``, ``_``, ``.``, - ``(``, and ``)`` as is. + sanitizes the given ``name`` using ``octoprint.files.sanitize_filename``. Also + strips leading ``.``s. """ - name = to_unicode(name) - - if name is None: - return None - - if "/" in name or "\\" in name: - raise ValueError("name must not contain / or \\") - - result = sanitize(name, safe_chars="-_.()[] ").replace(" ", "_") - if result and result != "." and result != ".." and result[0] == ".": - # hidden files under *nix - result = result[1:] - return result + return sanitize_filename(name, really_universal=self._really_universal) def sanitize_path(self, path): """ @@ -772,7 +763,10 @@ class LocalFileStorage(Storage): path_elements = path.split("/") joined_path = self.basefolder for path_element in path_elements: - joined_path = os.path.join(joined_path, self.sanitize_name(path_element)) + if path_element == ".." or path_element == ".": + joined_path = os.path.join(joined_path, path_element) + else: + joined_path = os.path.join(joined_path, self.sanitize_name(path_element)) path = os.path.realpath(joined_path) if not path.startswith(self.basefolder): raise ValueError( diff --git a/src/octoprint/plugins/announcements/templates/announcements.jinja2 b/src/octoprint/plugins/announcements/templates/announcements.jinja2 index 670a1bf78..d1744996f 100644 --- a/src/octoprint/plugins/announcements/templates/announcements.jinja2 +++ b/src/octoprint/plugins/announcements/templates/announcements.jinja2 @@ -1,4 +1,4 @@ -