mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Adding backup of user ids.
This commit is contained in:
parent
2dc123f815
commit
6be5d1c595
2 changed files with 14564 additions and 1 deletions
|
@ -427,7 +427,7 @@ class UserSubscription(models.Model):
|
|||
|
||||
@classmethod
|
||||
def recreate_deleted_feed(cls, new_feed_id, old_feed_id=None, skip=0):
|
||||
user_ids = sorted([int(u) for u in open('users.txt').read().split('\n') if u])
|
||||
user_ids = sorted([int(u) for u in open('utils/backups/users.txt').read().split('\n') if u])
|
||||
|
||||
count = len(user_ids)
|
||||
|
||||
|
|
14563
utils/backups/users.txt
Normal file
14563
utils/backups/users.txt
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue