mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Fixing crashing iOS app on missing feed info.
This commit is contained in:
parent
d3c4da77c3
commit
5ec7e202b7
3 changed files with 12 additions and 3 deletions
|
|
@ -133,7 +133,7 @@ def apply_classifier_tags(classifiers, story):
|
||||||
return score
|
return score
|
||||||
|
|
||||||
def apply_classifier_feeds(classifiers, feed, social_user_id=None):
|
def apply_classifier_feeds(classifiers, feed, social_user_id=None):
|
||||||
if not feed: return
|
if not feed: return 0
|
||||||
feed_id = feed if isinstance(feed, int) else feed.pk
|
feed_id = feed if isinstance(feed, int) else feed.pk
|
||||||
|
|
||||||
for classifier in classifiers:
|
for classifier in classifiers:
|
||||||
|
|
|
||||||
|
|
@ -2,4 +2,13 @@
|
||||||
<Bucket
|
<Bucket
|
||||||
type = "1"
|
type = "1"
|
||||||
version = "1.0">
|
version = "1.0">
|
||||||
|
<SymbolicBreakpoints>
|
||||||
|
<SymbolicBreakpoint
|
||||||
|
shouldBeEnabled = "Yes"
|
||||||
|
ignoreCount = "0"
|
||||||
|
continueAfterRunningActions = "No"
|
||||||
|
symbolName = "objc_exception_throw"
|
||||||
|
moduleName = "">
|
||||||
|
</SymbolicBreakpoint>
|
||||||
|
</SymbolicBreakpoints>
|
||||||
</Bucket>
|
</Bucket>
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,8 @@
|
||||||
// #define BACKGROUND_REFRESH_SECONDS -5
|
// #define BACKGROUND_REFRESH_SECONDS -5
|
||||||
#define BACKGROUND_REFRESH_SECONDS -10*60
|
#define BACKGROUND_REFRESH_SECONDS -10*60
|
||||||
|
|
||||||
// #define NEWSBLUR_URL [NSString stringWithFormat:@"nb.local.com"]
|
#define NEWSBLUR_URL [NSString stringWithFormat:@"nb.local.com"]
|
||||||
#define NEWSBLUR_URL [NSString stringWithFormat:@"www.newsblur.com"]
|
// #define NEWSBLUR_URL [NSString stringWithFormat:@"www.newsblur.com"]
|
||||||
|
|
||||||
#define NEWSBLUR_LINK_COLOR 0x405BA8
|
#define NEWSBLUR_LINK_COLOR 0x405BA8
|
||||||
#define NEWSBLUR_HIGHLIGHT_COLOR 0xd2e6fd
|
#define NEWSBLUR_HIGHLIGHT_COLOR 0xd2e6fd
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue