cs2tracker 2.1.1__py3-none-any.whl → 2.1.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of cs2tracker might be problematic. Click here for more details.

cs2tracker/main.py CHANGED
@@ -3,12 +3,19 @@ from datetime import datetime
3
3
  import urllib3
4
4
  from rich.console import Console
5
5
 
6
- from ._version import version
7
- from .application import Application
6
+ from cs2tracker._version import version # pylint: disable=E0611
7
+ from cs2tracker.application import Application
8
8
 
9
9
 
10
10
  def main():
11
- ## disable warnings for proxy requests
11
+ """
12
+ The main entry point for the CS2Tracker application.
13
+
14
+ Provides a console output with the application version and date, and initializes the
15
+ application.
16
+ """
17
+
18
+ # Disable warnings for proxy requests
12
19
  urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
13
20
 
14
21
  console = Console()
@@ -25,7 +32,7 @@ def main():
25
32
 
26
33
 
27
34
  """
28
- + f"Version: v{version} - {datetime.today().strftime('%Y/%m/%d')} - Jannik Novak @ashiven_\n"
35
+ + f"Version: v{version} - {datetime.today().strftime('%Y/%m/%d')} - Jannik Novak @ashiven\n"
29
36
  )
30
37
 
31
38
  application = Application()