17
17
## You should have received a copy of the GNU General Public License
18
18
## along with this program. If not, see <http://www.gnu.org/licenses/>.
21
23
Check for updates via the Internet
35
40
"""Return the user agent string"""
36
41
__platform = platform.system() # Linux or Windows
37
42
__os = platform.uname()[2] # e.g., 2.6.28-12-generic or XP
38
43
if sys.platform == "win32":
40
45
__os = platform.uname()[3][0:3] # 5.1 = Windows XP, 6.0 = Vista, 6.1 = 7