Argument of int() can't be nullable
This commit is contained in:
parent
3b2ca4d70c
commit
a7ca779870
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ class FoursquareBackend(Backend):
|
||||||
def run(self):
|
def run(self):
|
||||||
super().run()
|
super().run()
|
||||||
self._last_created_at = int(get_plugin('variable').get(self._last_created_at_varname).
|
self._last_created_at = int(get_plugin('variable').get(self._last_created_at_varname).
|
||||||
output.get(self._last_created_at_varname))
|
output.get(self._last_created_at_varname) or 0)
|
||||||
self.logger.info('Started Foursquare backend')
|
self.logger.info('Started Foursquare backend')
|
||||||
|
|
||||||
while not self.should_stop():
|
while not self.should_stop():
|
||||||
|
|
Loading…
Reference in a new issue