anoved / OctoPrint-EmailNotifier

Receive email notifications when OctoPrint jobs are complete. Currently broken. Please fork and fix!
GNU Affero General Public License v3.0
16 stars 35 forks source link

Deprecated Command Warning #16

Closed ScottWell1 closed 7 years ago

ScottWell1 commented 8 years ago

Following warning is issued when OctoPrint-EmailNotifier is invoked:

py.warnings - WARNING - /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_emailnotifier/init.py:60: DeprecationWarning: globalGet has been renamed to global_get

Line 60, please change 'globalGet' to 'global_get'.

idcrook commented 7 years ago

I noticed this too, while I turned on debug logging to troubleshoot timelapse plugin.

2016-10-26 20:49:41,690 - py.warnings - WARNING - /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_emailnotifier/__init__.py:60: Deprecatio
nWarning: globalGet has been renamed to global_get
  snapshot_url = self._settings.globalGet(["webcam", "snapshot"])