mirror of
https://github.com/davegallant/rfd.git
synced 2025-08-10 18:42:28 +00:00
fix bug when iterating over all existing posts in a thread (#23)
* fix get posts * remove tail/head and fix posts command
This commit is contained in:
8
rfd/utils.py
Normal file
8
rfd/utils.py
Normal file
@@ -0,0 +1,8 @@
|
||||
"""This module provides utility functions that are used within rfd"""
|
||||
|
||||
def is_int(number):
|
||||
try:
|
||||
int(number)
|
||||
return True
|
||||
except ValueError:
|
||||
return False
|
Reference in New Issue
Block a user