| OLD | NEW |
| 1 # coding: utf-8 | 1 # coding: utf-8 |
| 2 | 2 |
| 3 # This file is part of the Adblock Plus web scripts, | 3 # This file is part of the Adblock Plus web scripts, |
| 4 # Copyright (C) 2006-2014 Eyeo GmbH | 4 # Copyright (C) 2006-2014 Eyeo GmbH |
| 5 # | 5 # |
| 6 # Adblock Plus is free software: you can redistribute it and/or modify | 6 # Adblock Plus is free software: you can redistribute it and/or modify |
| 7 # it under the terms of the GNU General Public License version 3 as | 7 # it under the terms of the GNU General Public License version 3 as |
| 8 # published by the Free Software Foundation. | 8 # published by the Free Software Foundation. |
| 9 # | 9 # |
| 10 # Adblock Plus is distributed in the hope that it will be useful, | 10 # Adblock Plus is distributed in the hope that it will be useful, |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 def processReports(): | 40 def processReports(): |
| 41 for report in getReports(): | 41 for report in getReports(): |
| 42 guid = report.get('guid', None) | 42 guid = report.get('guid', None) |
| 43 reportData = getReport(guid) | 43 reportData = getReport(guid) |
| 44 if 'screenshot' in reportData: | 44 if 'screenshot' in reportData: |
| 45 saveReport(guid, reportData) | 45 saveReport(guid, reportData) |
| 46 | 46 |
| 47 if __name__ == '__main__': | 47 if __name__ == '__main__': |
| 48 setupStderr() | 48 setupStderr() |
| 49 processReports() | 49 processReports() |
| OLD | NEW |